100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

C170 WGU QUESTIONS & ANSWERS

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
06-09-2025
Written in
2025/2026

C170 WGU QUESTIONS & ANSWERS

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
September 6, 2025
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

C170 WGU QUESTIONS & ANSWERS
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? - Answer -Many-to-many

Which two examples are attributes? - Answer -An employee number
A meeting code

Which delete rule sets column values in a child table to a missing value when the
matching data is
deleted from the parent table? - Answer -Set-to-Null

member_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
PRIMARY KEY (member_id),
last_name VARCHAR(20) NOT NULL,
first_name VARCHAR(20) NOT NULL,
suffix VARCHAR(5) NULL,
expiration DATE NULL,
Which two columns are created as something other than variable-length strings in this
statement? - Answer -member_id
expiration

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? - Answer -
Move the data from the third column into its own table.

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? - 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? - Answer -Foreign

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? - Answer -WHERE PRODCOST=20;

What does WHERE identify in a basic SQL SELECT statement? - 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? - Answer -WHERE EMPNUM >= 1000;

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? - Answer -GROUP BY PRODNUM;

Which data definition language statement affects databases or objects in them? -
Answer -ALTER

What does the DELETE statement do? - Answer -It removes rows from a table.

Which condition must be in effect to use the INSERT INTO ... VALUES syntax for an
INSERT statement? - Answer -The VALUES list must contain a value for each non-null
valued column in the
table.

CREATE TABLE mytbl
(
f FLOAT(10,4),
c CHAR(15) NOT NULL DEFAULT 'none',
i TINYINT UNSIGNED NULL
);
Which kind of data type is FLOAT in this statement? - Answer -Decimal

Which two SQL data types can represent images or sounds? - Answer -TINYBLOB
BINARY

CREATE TABLE CUSTOMER
(CustomerID INT NOT NULL AUTO_INCREMENT,
LastName VARCHAR(100) NOT NULL,
FirstName VARCHAR(100) NOT NULL,
PRIMARY KEY ( CustomerID ));
Which component of the command indicates the table's name? - Answer -CUSTOMER

Get to know the seller

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.
QUEENS Harvard University
Follow You need to be logged in order to follow users or courses
Sold
222
Member since
3 year
Number of followers
180
Documents
4152
Last sold
3 weeks ago

4.1

61 reviews

5
35
4
10
3
8
2
3
1
5

Recently viewed by you

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

Frequently asked questions