• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 25 pages
Exam (elaborations)

WGU C170 2026

Document preview thumbnail
Preview 3 out of 25 pages

Exam of 25 pages for the course WGU c170 at WGU c170 (WGU C170 2026)

Content preview

WGU c170 PRE-ASSESSMENT:
DATA MANAGEMENT -
APPLICATIONS WITH COMPLETE
SOLUTION
Course

WGU c170

1. Primary Key

A Customer table contains:

CustomerID

FirstName

LastName

Email

Which column is the best choice for the primary key?

A. FirstName
B. LastName
C. Email
D. CustomerID

Answer: D. CustomerID

Solution: A primary key uniquely identifies each record. CustomerID is normally designed
specifically for this purpose.



2. Foreign Key

Consider these tables:

Customer(CustomerID, CustomerName)

Order(OrderID, OrderDate, CustomerID)

What is CustomerID in the Order table?

,A. Candidate key
B. Foreign key
C. Composite key
D. Alternate key

Answer: B. Foreign key

Solution: The CustomerID in Order references the primary key of Customer, establishing the
relationship between the tables.



3. CREATE TABLE

Which SQL statement correctly creates a table with a primary key?

A.

CREATE TABLE Student (

StudentID INT PRIMARY KEY,

Name VARCHAR(50)

);

B.

MAKE TABLE Student (

StudentID INT PRIMARY,

Name VARCHAR(50)

);

C.

NEW TABLE Student (

StudentID KEY,

Name TEXT

);

D.

CREATE Student TABLE (

, StudentID PRIMARY KEY

);

Answer: A

Solution:

CREATE TABLE Student (

StudentID INT PRIMARY KEY,

Name VARCHAR(50)

);

CREATE TABLE creates the table, while PRIMARY KEY establishes the unique identifier.



4. INSERT

Which statement adds a new student?

StudentID = 101

Name = Maria

Major = IT

A.

ADD Student VALUES (101, 'Maria', 'IT');

B.

INSERT INTO Student

VALUES (101, 'Maria', 'IT');

C.

UPDATE Student

VALUES (101, 'Maria', 'IT');

D.

CREATE Student

VALUES (101, 'Maria', 'IT');

Document information

Uploaded on
September 2, 2026
Number of pages
25
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$18.49

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.
CLINICALNURSING
3.7
(6)
Sold
45
Followers
5
Items
1053
Last sold
9 hours 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