Computer Science  >  EXAM  >  C170, WGU Full Study Pack| WITH COMPLETE SOLUTIONS (All)

C170, WGU Full Study Pack| WITH COMPLETE SOLUTIONS

Document Content and Description Below

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? Correct Answer: Many-to-many Which ... two examples are attributes? Correct 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? Correct 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? Correct 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? Correct 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? 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 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; 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? Correct Answer: GROUP BY PRODNUM; Which data definition language statement affects databases or objects in them? Correct Answer: ALTER What does the DELETE statement do? Correct Answer: It removes rows from a table. Which condition must be in effect to use the INSERT INTO ... VALUES syntax for an INSERT statement? Correct 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? Correct Answer: Decimal Which two SQL data types can represent images or sounds? Correct 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? Correct Answer: CUSTOMER Which method creates an empty copy of a table and then populates it from the original table? Correct Answer: CREATE TABLE ... LIKE followed by INSERT INTO ... SELECT : ALTER TABLE tbl_name action [, action ] ... ; What does this syntax allow? Choose 2 answers Correct Answer: Dropping indexes Changing column data types Which command eliminates a table? Correct Answer: DROP TABLE Why is a view used to give controlled access to data? Correct Answer: To restrict access to persons retrieving and modifying sensitive information A database manager plans to create a view of a table and has these two elements: Correct Answer: The SELECT privilege for every column referred to elsewhere in the statement SELECT product_name, product_number, mfg_city FROM product; Which statement, when added before this statement, generates a view? Correct Answer: CREATE VIEW viewprod AS What is the proper command to change a view? Correct Answer: ALTER VIEW DROP VIEW EMPLOYEE; What happens as a result of the execution of this statement to the HRDB table on which the EMPLOYEE view is based? Correct Answer: The view is discarded. When a product is deleted from the product table, all corresponding rows for the product in the pricing table are deleted automa [Show More]

Last updated: 3 years ago

Preview 1 out of 40 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of C170, WGU Full Study Pack| WITH COMPLETE SOLUTIONS document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Also available in bundle (1)

Click Below to Access Bundle(s)

WGU c170 TESTS COMPILATION BUNDLE

WGU c170 TESTS COMPILATION BUNDLE

By Crum 3 years ago

$15.5

13  

Reviews( 0 )

$10.00

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

Can't find what you want? Try our AI powered Search

93
0

Document information


Connected school, study & course


About the document


Uploaded On

Oct 21, 2022

Number of pages

40

Written in

All

Seller


Profile illustration for Crum
Crum

Member since 3 years

64 Documents Sold

Reviews Received
10
1
1
0
1
Additional information

This document has been written for:

Uploaded

Oct 21, 2022

Downloads

 0

Views

 93

Document Keyword Tags

Recommended For You

Get more on EXAM »

$10.00
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·