WGU C170 - Data Management Test Exam Review Questions with all Answers verified for accuracy Updated 2024/2025
4 views 0 purchase
Course
WGU 170
Institution
WGU 170
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....
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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller KieranKent55. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.