1.

The ______ construct returns true if a given tuple is present in the subquery.(a) not exists(b) present(c) not present(d) existsI have been asked this question in a job interview.The doubt is from Nested Subqueries in division Introduction to Relational Model and Sql of RDBMS

Answer»

The correct answer is (d) EXISTS

Explanation: The exists construct returns TRUE if a given tuple is PRESENT in the SUBQUERY. The not exists construct GIVES true if a given tuple is not present in the subquery.



Discussion

No Comment Found

Related InterviewSolutions