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
Exam (elaborations)

WGU C170 EXAM WITH 100% CORRECT AND VERIFIED ANSWERS

Rating
-
Sold
-
Pages
60
Grade
A+
Uploaded on
20-02-2026
Written in
2025/2026

WGU C170 EXAM WITH 100% CORRECT AND VERIFIED ANSWERS

Institution
C170
Course
C170

Content preview

WGU C170 EXAM WITH 100% CORRECT AND
VERIFIED ANSWERS



Your answers


1 of 53

Term


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?


SUM PRODNUM;
COUNT PRODNUM;
ORDER BY PRODNUM;
GROUP BY PRODNUM;




An employee number
A meeting code Set-to-Null

, GROUP BY PRODNUM; The restrict delete rule


Don't know?




2 of 53

Definition


SELECT YEAR, TITLE FROM MOVIE GROUP BY YEAR;




A database administrator of a movie rental company needs to compile a
list of movies released each year for a marketing campaign.

Which SQL command will accomplish this?

SELECT MOVIE, YEAR FROM MOVIE BY TITLE;
SELECT MOVIE, TOTAL FROM MOVIE BY TITLE;
SELECT MOVIE, TITLE FROM MOVIE BY MOVIE YEAR;
SELECT YEAR, TITLE FROM MOVIE GROUP BY
YEAR; SELECT YEAR, TOTAL FROM MOVIE ORDER
BY YEAR;

,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?

SUM PRODNUM;
COUNT PRODNUM;
ORDER BY
PRODNUM; GROUP
BY PRODNUM;




A database administrator tries to delete a row in a parent table, but the delete
fails because a row in another table depends on that row.


Which referential-integrity rule is in effect?


The default delete rule
The restrict delete rule
The cascade delete rule
The set-to-null delete rule




Which task does ORDER BY perform by default?


Sorting rows in ascending order
Sorting rows in descending order
Sorting columns in ascending order
Sorting columns in descending order


Don't know?

, 3 of 53

Definition


Every row in the table is updated.




What happens in an UPDATE statement if the WHERE clause is omitted?


Only the first row in the table is updated.
Every column in the table is updated.
Every row in the table is updated.
Returns an error.




What does WHERE identify in a basic SQL SELECT statement?


The associative entity
The rows to be
included A table's
intersection data
A range of included columns




Which syntax is the correct way to use the DROP INDEX command to drop a
primary key from a table?

DROP INDEX PRIMARY KEY tbl_name;
DROP INDEX `PRIMARY` ON tbl_name ;
DROP INDEX `PRIMARY KEY` ON tbl_name;
DROP INDEX WHERE PRIMARY KEY = tbl_name ;




What does the DELETE statement do?


It removes views.
It removes rows from a table.

Written for

Institution
C170
Course
C170

Document information

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

Subjects

$20.49
Get access to the full document:

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

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.
Vendarsol Harvard University
Follow You need to be logged in order to follow users or courses
Sold
192
Member since
2 year
Number of followers
81
Documents
7229
Last sold
1 week ago
Vendarsol orchid store

Let us grow smarter together I’m here to make your exams a little bit easier!!... On this page you will find everything you need all kind of academic materials i.e. exams, study guides, test banks ,case, case study etc and always leave a review after purchasing any document so as to make sure our customers are 100% satisfied.....All the Best!!!!!! All the Best In Your Exams!

4.0

71 reviews

5
26
4
32
3
6
2
3
1
4

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

Working on your references?

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

Working on your references?

Frequently asked questions