Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

WGU C170 - Data Management Test Exam Review Questions with all Answers verified for accuracy Updated 2024/2025

Document preview thumbnail
Preview 2 out of 11 pages

WGU C170 - Data Management Test Exam Review Questions with all Answers verified for accuracy Updated 2024/2025 In which form is this data - correct answer Second Normal Form 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 - correct answer Foreign When a product is deleted from the product table, all corresponding rows for the product in the pricing table are deleted automatically as well. What is this referential integrity technique called - correct answer Cascaded delete Refer to the given information. CREATE TABLE 'test1' ( contact_id INT(10), name VARCHAR(10), event_id INT(5), Which command should be added to the end to make the event_id attribute the primary key within a CREATE TABLE statement - correct answer PRIMARY KEY (event_id)); What does the clause PRIMARY KEY followed by a field name in parentheses mean in a CREATE TABLE statement - correct answer The column, in parentheses, is the primary key for the table. Which statement should be used so that it assigns a foreign key to the customer name - correct answer FOREIGN KEY (customer_name) REFERENCE table_name (customer_name) Which command creates a database only if it does not already exist - correct answer CREATE DATABASE IF NOT EXISTS db_name;

Content preview

WGU C170 - Data Management Test Exam
Review Questions with all Answers verified for
accuracy Updated 2024/2025
In which form is this data - correct answer Second Normal Form


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 - correct answer Foreign


When a product is deleted from the product table, all corresponding rows for the product
in the pricing table are deleted automatically as well.


What is this referential integrity technique called - correct answer Cascaded delete


Refer to the given information.


CREATE TABLE 'test1' (
contact_id INT(10),
name VARCHAR(10),
event_id INT(5),


Which command should be added to the end to make the event_id attribute the primary
key within a CREATE TABLE statement - correct answer PRIMARY KEY (event_id));


What does the clause PRIMARY KEY followed by a field name in parentheses mean in
a CREATE TABLE statement - correct answer The column, in parentheses, is the
primary key for the table.


Which statement should be used so that it assigns a foreign key to the customer name -
correct answer FOREIGN KEY (customer_name) REFERENCE table_name
(customer_name)

, Which command creates a database only if it does not already exist - correct answer
CREATE DATABASE IF NOT EXISTS db_name;


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 - correct answer WHERE
PRODCOST=20;


What does WHERE identify in a basic SQL SELECT statement - correct answer The
rows to be included


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 - correct answer WHERE EMPNUM >=1000;


Refer to the given SQL statement.


SELECT PRODNUM, SUM(QUANTITY)
FROM SALESPERSON

Document information

Uploaded on
August 30, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KieranKent55
3.6
(9)
Sold
43
Followers
18
Items
6492
Last sold
6 months ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions