Based on the tables below,which of the following commands in ANSI SQL would return only the name of the sales representative and the name of the customer for each customer that has a balance greater than 400? GENERAL SALES DATABASE:
SALESREP CUSTOMER
A) SELECT *
FROM SALESREP,CUSTOMER
WHERE Balance > 400;
B) SELECT DISTINCT RepName,CustName
FROM SALESREP,CUSTOMER
WHERE Balance > 400;
C) SELECT *
FROM SALESREP,CUSTOMER
WHERE SALESREP.SalesRepNo = CUSTOMER.SalesRepNo
AND Balance > 400;
D) SELECT RepName,CustName
FROM SALESREP,CUSTOMER
WHERE SALESREP.SalesRepNo = CUSTOMER.SalesRepNo
AND Balance > 400;
Correct Answer:
Verified
Q82: In an SQL query,which SQL keyword is
Q83: When one SQL query is embedded in
Q84: In an SQL query,which built-in function is
Q85: Given a table with the structure: EMPLOYEE
Q86: In an SQL query,the built-in functions SUM
Q88: In an SQL query,which SQL keyword is
Q89: Regarding the interchangeability of subqueries and joins,_.
A)a
Q90: When one SQL query is embedded in
Q91: In an SQL query,which SQL keyword is
Q92: In an SQL query,which built-in function is
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