Discussion
The EXISTS keyword will be true if:
Answer: A
Correct answer: any row in the subquery meets the condition only.
EXISTS is a test of emptiness: it returns true as soon as the subquery produces one row, and false only if the subquery produces none. Because it stops at the first match and never examines the values returned, it is usually more efficient than the equivalent IN or count, and it is written as SELECT * or SELECT 1 for exactly that reason.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development