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

WGU C170 - Data Management Applications.|A+ Graded Update

Rating
-
Sold
-
Pages
7
Grade
A
Uploaded on
22-05-2024
Written in
2023/2024

WGU C170 - Data Management Applications.|A+ Graded Update 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? Many-to-many Which two examples are attributes? 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? Set-to-null Refer to the given SQL statement. CREATE TABLE member ( 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, email VARCHAR(100) NULL, street VARCHAR(50) NULL, city VARCHAR(50) NULL, state VARCHAR(2) NULL, zip VARCHAR(10) NULL, phone VARCHAR(20) NULL, interests VARCHAR(255) NULL ); Which two columns are created as something other than variable-length strings in this statement? member_id; expiration Employee_ID Employee_Name Office_Address 12342 Jacob 54123 Main Street 12346 Michael 354 Center Avenue 12846 Ethan 54123 Main Street 12887 Joshua 54123 Main Street 12894 Daniel 354 Center Avenue 13097 Alexander 354 Center Avenue 13112 Anthony 54123 Main Street 13411 William 354 Center Avenue 13987 Christopher 354 Center Avenue 13998 Matthew 54123 Main Street 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? 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? 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? 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? 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? PRIMARY KEY (event_id)); What does the clause PRIMARY KEY followed by a field name in parentheses mean in a CREATE TABLE statement? 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? FOREIGN KEY (customer_name

Show more Read less
Institution
Module









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

Written for

Module

Document information

Uploaded on
May 22, 2024
Number of pages
7
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

WGU C170 - Data Management Applications.|
A+ Graded Update
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?
Many-to-many


Which two examples are attributes?
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?
Set-to-null


Refer to the given SQL statement.

CREATE TABLE member
(
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,
email VARCHAR(100) NULL,
street VARCHAR(50) NULL,
city VARCHAR(50) NULL,
state VARCHAR(2) NULL,
zip VARCHAR(10) NULL,
phone VARCHAR(20) NULL,
interests VARCHAR(255) NULL
);

Which two columns are created as something other than variable-length strings in this statement?
member_id; expiration


Employee_ID Employee_Name Office_Address
12342 Jacob 54123 Main Street
12346 Michael 354 Center Avenue
12846 Ethan 54123 Main Street
12887 Joshua 54123 Main Street
12894 Daniel 354 Center Avenue
13097 Alexander 354 Center Avenue
13112 Anthony 54123 Main Street
13411 William 354 Center Avenue
13987 Christopher 354 Center Avenue
13998 Matthew 54123 Main Street
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?

, 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?
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?
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?
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?
PRIMARY KEY (event_id));


What does the clause PRIMARY KEY followed by a field name in parentheses mean in a CREATE TABLE
statement?
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?
FOREIGN KEY (customer_name) REFERENCE table_name (customer_name)


Which command creates a database only if it does not already exist?
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?
WHERE PRODCOST=20;

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.
LectAziim Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
21
Member since
2 year
Number of followers
13
Documents
4143
Last sold
3 months ago
Dont stress yourself on study materials .LectAziim got it all

"Unlock your potential with our online writing store! Discover expert guidance, personalized feedback, and tools for every writer's journey. From crafting compelling essays to mastering creative storytelling, our platform offers interactive courses, one-on-one coaching, and resources tailored to your goals. Start writing your success story today with us!"

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

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 exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions