CUSTOMER
RENTALS
In the table RENTALS, Rtn provides the rental number (the primary key., Cname refers to the Cname in Customer, Pickup is the city where the car was picked up, and Return is the city where the car was returned.
RENTCOST
In RENTCOST, COST shows the base cost of renting a given MAKE for one day.
CITYADJ
If the return city of table RENTALS is the one listed in table CITYADJ, the cost of the rental is multiplied by FACTOR and by DAYS shown in table RENTLENGTH below.
RENTLENGTH
RENTLENGTH shows the number of DAYS for the rental number (RTN) of the table RENTALS (this table exists for the sake of testing SQL. Normally, the data here should be part of table RENTALS.
-As a result of the execution of the query SELECT COUNT(*) AS Ct1,AVG(Age) AS AVGAGE
FROM CUSTOMER
WHERE Resid_City = 'ERIE' OR Resid_City = 'HEMET'
Which one of the following values occurs in the column with heading Ct1?
A) 1
B) 2
C) 3
D) 4
Correct Answer:
Verified
Q42: A(n)_ in a SQL query is a
Q43: In a table STUDENT containing 8 columns
Q44: CUSTOMER Q45: The _ statement in SQL is used Q46: The COMMIT,GRANT and REVOKE statements,used primarily by Q48: If in your SQL select statement you Q49: CUSTOMER Q50: Testing for Null values is done by Q51: Equal to (=),less than (<),and greater than Q52: CUSTOMER 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