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
Q58: When an SQL SELECT statement is used
Q59: SQL statements used to construct views cannot
Q60: The SQL command SELECT is used to
Q61: Since an SQL view is essentially a
Q62: The SQL statement _ is used to
Q64: When an SQL SELECT statement is used
Q65: SQL view instances are retrieved using the
Q66: Use the database below to answer
Q67: Although it cannot be used in creating
Q68: SQL views are constructed from SQL _
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents