Answer to Question #295154 in Python for Lovely

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?

1
Expert's answer
2022-02-08T07:54:10-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS