Multiple Choice
Based on the tables below,which of the following SQL commands would create an SQL view named CustomerSalesRep that could be used to display CustNo,CustName,RepName? GENERAL SALES DATABASE:
SALESREP
CUSTOMER
A) SELECT CustNo, CustName, RepName FROM SALESREP, CUSTOMER;
B) SELECT CustNo, CustName, RepName FROM SALESREP, CUSTOMER
WHERE CustNo=*;
C) SELECT CustNo, CustName, RepName FROM SALESREP, CUSTOMER
WHERE SALEREP, SalesRepNo = CUSTOMER, SalesRepNo;
D) CREATE VIEW CustomerSalesRep AS SELECT CustNo, CustName, RepName
FROM SALESREP, CUSTOMER
WHERE CustNo=*;
E) CREATE VIEW CustomerSalesRep AS SELECT CustNo, CustName, RepName
FROM SALESREP, CUSTOMER
WHERE SALEREP, SalesRepNo = CUSTOMER, SalesRepNo;
Correct Answer:

Verified
Correct Answer:
Verified
Q12: The SQL statement used to delete a
Q15: Microsoft Access _ can use previously stored
Q26: SQL views can be used to display
Q30: Which of the following is an SQL
Q32: SQL views can be used to layer
Q55: A stored program that is attached to
Q62: How are SQL views handled in Microsoft
Q65: SQL statements used to construct views cannot
Q71: What are SQL triggers and how are
Q75: The SQL statement _ is used to