What does the EXISTS operator do in SQL? MCQ with Answer and Explanation

What does the EXISTS operator do in SQL?
A. Tests for the existence of rows returned by a subquery
B. Performs arithmetic
C. Checks if a value is null
D. Compares two values
Answer: Option A
Solution (By JKSSB Mock Tests)
EXISTS returns TRUE if the subquery returns at least one row, otherwise FALSE.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
How many fundamental rules did E.F. Codd define to determine whether a database system qualifies as a true relational database management system?
A. 8 rules
B. 10 rules
C. 12 rules
D. 14 rules

Correct Answer: Option C


Explanation:
E.F. Codd formulated 12 rules (numbered 0 to 11, often called Codd's 12 Rules) to evaluate relational database management systems.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What is a data mart?
A. A backup technique
B. A query language
C. A subset of a data warehouse focused on a specific business unit or function
D. A type of database

Correct Answer: Option C


Explanation:
A data mart is a specialized data warehouse for a specific department, team, or subject area.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which of the following is a way to avoid redundancy in a database?
A. Indexing
B. Replication
C. Normalization
D. Denormalization

Correct Answer: Option C


Explanation:
Normalization reduces redundancy by organizing data into tables with minimal duplication.

This question belongs to: Computer Database Management System (DBMS)