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
Q63: A stored program that is attached to
Q74: The SQL command _ is used to
Q75: The SQL statement _ is used to
Q76: SQL views are used for all except
Q77: Unlike typical subqueries,correlated subqueries creates "copies" of
Q79: Outer joins are completely supported in Microsoft
Q80: SQL views can be used to hide
Q82: The SQL keyword _ can be used
Q84: An SQL virtual table is called a(n)_.<br>A)
Q93: SQL views can be used to hide