Figuer: CUSTOMER (Primary Key = CID) CNAME Is NOT NULL
Question 42
Question 42
Multiple Choice
Figuer: CUSTOMER (primary key = CID) CNAME is NOT NULL CID 102030405060 CNAME BLACK GREEN JONES MARTIN SIMON VERNON AGE 402530352260 RESID_CITY SD SD La Mesa LA Pomona Poway Cregion SD SD SD LA LA SD RENTALS (primary key = RTN) CID is a foreign key referencing CUSTOMER CID is NOT NULL MAKE is NOT NULL MAKE is a foreign key referencing RENTCOST CID 101010203030405060 MAKE FORD GM FORD NISSAN FORD GM FORD GM NISSAN DATE_OUT 10− Oct-00 01−-Jan-01 01− Feb-01 07−Jul−0001−Jul−0001−-Dec-00 01− Aug-00 01− Sep-00 02-Jan-01 PICKUP SD SD LA SD SD SD LA LA SD RETURN SD LA SD SD SD LA SD LA RTN 123456789 RENTCOST MAKE is the primary key MAKE FORD GM NISSAN TOYOTA VOLVO COST 3040302050 (Access) View1: SELECT RTN, MAKE, PICKUP, RENTALS.CID, CUSTOMER.CID, CNAME, AGE, Cregion FROM CUSTOMER INNER JOIN RENTALS ON CUSTOMER.CID = RENTALS.CID (Access) View2: SELECT RTN, MAKE, PICKUP, RENTALS.CID, CNAME, AGE, Cregion FROM CUSTOMER INNER JOIN RENTALS ON CUSTOMER.CID = RENTALS.CID (Access) View3: SELECT RTN, RENTALS.MAKE, PICKUP, RENTALS.CID, CNAME, AGE, Cregion, COST FROM (CUSTOMER INNER JOIN RENTALS ON CUSTOMER.CID = RENTALS.CID. INNER JOIN RENTCOST ON RENTALS.MAKE = RENTCOST.MAKE -(Access) INSERT INTO View2 (RTN,MAKE,PICKUP,RENTALS.CID,CNAME) VALUES (11,'GM','SD',70,'JORDAN' ) Which of the following is true?
A) This command inserts 1 row into RENTALS B) This command inserts 1 row into CUSTOMER C) After execution of this command, SELECT MAKE FROM View2 WHERE CNAME='JORDAN' will show 1 row D) This command cannot execute
Correct Answer:
Verified
Unlock this answer now Get Access to more Verified Answers free of charge