Question #295154

Consider a relation train with attributes trainid (Primary Key), trainname, traintype, noofcoaches, source and destination. Except trainid, no columns am The table has following 3 indexes created:




IX1-trainname, source




IX2- trainname, destination




IX3 noofcoaches




Which of the following will NOT use index?

Expert's answer

SELECT pid
FROM Reservation ,
WHERE class ‘AC’ AND
    EXISTS (SELECT *
       FROM Passenger
       WHERE age > 65 AND
       Passenger. pid = Reservation.pid)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS