Computer Science > Quiz > SKILLS QUIZ (All)
Question 1 4 out of 4 points Assume the following table structure for Customer: CustID (Primary key), CustLName, CustFName, CustCity, CustState, CustZip. All are required fields and are string dat... atypes. Which of the following is a valid Insert statement (assume the values match the column name, so ‘CustID’ would go in the CustID column)? Selected Answer: b) INSERT INTO Customer VALUES (‘CustID’, ‘CustLName’, ‘CustFName’, ‘CustCity’, ‘CustState’, ‘CustZip’,) Correct Answer: b) INSERT INTO Customer VALUES (‘CustID’, ‘CustLName’, ‘CustFName’, ‘CustCity’, ‘CustState’, ‘CustZip’,) Question 2 4 out of 4 points Assume the following table structure for Customer: CustID (Primary key), CustLName, CustFName, CustCity, CustState, CustZip. All are required fields and are string datatypes. There is a corresponding table CustHist which contain the same columns. Which of the following inserts data into the CustHist table from the Customer table (assume the values match the column name, so ‘CustID’ would go in the CustID column)? Selected Answer: a) INSERT INTO CustHist SELECT * FROM Customer Correct Answer: a) INSERT INTO CustHist SELECT * FROM Customer Question 3 4 out of 4 points Assume the following table structure for Customer: CustID (Primary key), CustLName, CustFName, CustCity, CustState, CustZip. All are required fields and are string datatypes. Which of the following inserts data into a CustHist table that does not exist from the Customer table (assume the values match the column name, so ‘CustID’ would go in the CustID column)? Selected Answer: d) SELECT * INTO CustHist FROM Customer [Show More]
Last updated: 2 years ago
Preview 1 out of 3 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Oct 06, 2022
Number of pages
3
Written in
This document has been written for:
Uploaded
Oct 06, 2022
Downloads
0
Views
99
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·