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
Q35: An SQL virtual table is called a(n)_.
A)
Q44: A stored program that is stored within
Q46: Since an SQL view is essentially a
Q50: The SQL Server DBMS supports the SQL
Q53: Stored procedures have the advantage of greater
Q64: When an SQL SELECT statement is used
Q65: SQL view instances are retrieved using the
Q71: The SQL statement used to modify a
Q73: The SQL statement used to delete a
Q77: SQL views are constructed from _.
A)CREATE statements
B)INSERT
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