Based on the tables above, which of the following commands in ANSI SQL would return only the name of the sales representative and name of the customer for each customer that has a balance greater than 400?
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;
e.) SELECT RepName, CustName
FROM SALESREP, CUSTOMER
WHERE Balance > 400
GROUP BY SalesRepNo;