In which situations would you use a three level subquery?

What will be an ideal response?

When three tables are involved, and result from one table’s query can be used by query
based on second table, and subsequently, result of the second query is used in query
based on third table.
SELECT Building, RoomNo FROM location
WHERE Roomid =
(SELECT RoomId FROM faculty

WHERE FacultyId =

(SELECT FacultyId FROM student
WHERE StudentId = ‘00101’));

Computer Science & Information Technology

You might also like to view...

A menu of commands that match the characters you type is called AutoComplete

Indicate whether the statement is true or false

Computer Science & Information Technology

The SQL ________ keyword is used to sort the records by a certain field in either ascending or descending order

Fill in the blank(s) with correct word

Computer Science & Information Technology