WGU Course C170 - Data Management (Applications) Quizlet by Brian MacFarlane
2 vues 0 fois vendu
Cours
WGU C170
Établissement
WGU C170
WGU Course C170 - Data Management (Applications) Quizlet by Brian MacFarlane
A salesperson is authorized to sell many products and a product can be sold by many salespersons.
Which kind of binary relationship does this scenario describe?
A One-to-one
B One-to-many
C One-to-one binary
D Ma...
WGU Course C170 - Data Management
(Applications) Quizlet by Brian MacFarlane
A salesperson is authorized to sell many products and a product can be sold by many salespersons.
Which kind of binary relationship does this scenario describe?
A One-to-one
B One-to-many
C One-to-one binary
D Many-to-many
D
Which kind of relationship is displayed in this entity-relationship diagram?
A Many-to-many unary
B Many-to-many binary
C One-to-one unary
D One-to-one binary
A
Which kind of relationship is displayed in this entity-relationship diagram?
A Binary many-to-many
B Unary one-to-one
C Ternary many-to-many
D Ternary one-to-one
D Unary many-to-many
E Binary one-to-one
B
How is this portion of the entity-relationship diagram read, from left to right?
A At least one book was written by an author.
B Only one book was written by one author.
C No books are written by an author.
D One book was written by more than one author.
A
Which two examples are attributes?
Choose 2 answers
1 A meeting code
2 A person attending a meeting
3 An employee number
4 A sales meeting
A 1,3
B 2,4
A
,Which delete rule sets column values in a child table to a missing value when the matching data is
deleted from the parent table?
A Restrict
B Cascade
C Matching
D Set-to-Null
D
In this entity-relationship diagram, Salesperson 361 is related to two customers. The table follows the
restrict delete rule.
What happens if someone tries to delete Salesperson 361 from the customer records?
A The delete occurs immediately.
B The lack of a salesperson is flagged for later.
C A new salesperson is assigned instead.
D The delete is prohibited.
D
Refer to the given SQL statement.
CREATE TABLE member(member_idINT UNSIGNED NOT NULL AUTO_INCREMENT,PRIMARY KEY
(member_id),last_nameVARCHAR(20) NOT NULL,first_nameVARCHAR(20) NOT
NULL,suffixVARCHAR(5) NULL,expirationDATE NULL,emailVARCHAR(100) NULL,streetVARCHAR(50)
NULL,cityVARCHAR(50) NULL,stateVARCHAR(2) NULL,zipVARCHAR(10) NULL,phoneVARCHAR(20)
NULL,interestsVARCHAR(255) NULL);
Which two columns are created as something other than variable-length strings in this statement?
Choose 2 answers
1 member_id
2 expiration
3 suffix
4 email
5 last name
6 city
A 1,2
B 3,4
A
This database table has ten different employee numbers in the first column. Employee_ID is the
primary key. In addition, it has ten different names in the second column and two office addresses
repeated five times each in the third column.
Which action should be used to translate this data into third normal form?
A Move the data from the third column into the first column.
B Move the data from the third column into its own table.
C Move the data from the first two columns into separate tables.
D Move the data from the second column into the third column.
B
,A database manager starts to convert data that has been normalized into a form that conforms to the
relational model. A simple primary key has been established and all the repeating groups have been
deleted.
In which form is this data?
A First normal form
B Second normal form
C Third normal form
D Fourth normal form
B
Two attributes in two related tables have the exact same domain of values. The attribute is a primary
key in one table.
Which kind of key is the attribute in the other table?
A Compound
B Composite
C Primary
D Foreign
D
In this entity-relationship diagram, many salespersons are shown as working in at least one office.
How is the relationship between salespersons and offices represented in the diagram?
A It is linked through the salesperson ID.
B It is indicated by the tables' adjacency.
C It is undefined.
D It is linked through the office ID.
D?
Which command creates a database only if it does not already exist?
A IF NOT EXISTS CREATE DATABASE db_name ;
B CREATE DATABASE IF NEW db_name ;
C IF NOT EXISTS db_name ;
D CREATE DATABASE IF NOT EXISTS db_name ;
A
Refer to the given SQL statement.
SELECT PRODNUM, PRODNAME
FROM PRODUCT
Which line should be added to the end of the statement to return the product numbers and product
names for products that cost 20 dollars?
A WHERE PRODCOST>=20;
B WHERE PRODCOST=20;
, C AND PRODCOST=20;
D AND PRODCOST>=20;
B
What does WHERE identify in a basic SQL SELECT statement?
A A table's intersection data
B The associative entity
C A range of included columns
D The rows to be included
D
Refer to the given SQL statement.
SELECT EMPNUM
FROM EMPLOYEE
Which line added to the end of the statement returns employee numbers of at least 1000?
A WHERE EMPNUM > 1000;
B WHERE EMPNUM >= 1000;
C WHERE EMPNUM => 1000;
D WHERE EMPNUM = 1000+;
B
Refer to the given SQL statement.
SELECT PRODNUM, SUM(QUANTITY)
FROM SALESPERSON
Which line, when added to the end of the statement, returns the total number of each kind of
product by product number?
A ORDER BY PRODNUM;
B GROUP BY PRODNUM;
C COUNT PRODNUM;
D SUM PRODNUM;
B
Which data definition language statement affects databases or objects in them?
A INSERT
B NULL
C ALTER
D SELECT
C
What does the DELETE statement do?
A It removes rows from a table.
B It removes views.
C It removes columns not named in the column list.
Les avantages d'acheter des résumés chez Stuvia:
Qualité garantie par les avis des clients
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur LectDan. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour $10.59. Vous n'êtes lié à rien après votre achat.