Which operator in SQL is used to exclude specific data records from a search based on a collection of negative criteria? MCQ with Answer and Explanation

Which operator in SQL is used to exclude specific data records from a search based on a collection of negative criteria?
A. EXCEPT
B. REMOVE
C. NOT IN
D. MINUS
Answer: Option C
Solution (By JKSSB Mock Tests)
The NOT IN operator filters the query results to exclude records whose values match any element within the provided list or subquery.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which normal form requires that every determinant is a candidate key?
A. 2NF
B. 1NF
C. 3NF
D. BCNF

Correct Answer: Option D


Explanation:
Boyce-Codd Normal Form (BCNF) is a stricter version of 3NF where every determinant must be a candidate key.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which of the following ensures data integrity in RDBMS?
A. User input without checks
B. No validation rules
C. Constraints like primary key, foreign key
D. Random data entry

Correct Answer: Option C


Explanation:
Integrity constraints such as keys enforce rules for valid data.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which of the following is true about a surrogate key?
A. It is a foreign key
B. It is an artificial key, usually an auto-increment integer, with no business meaning
C. It is a natural key derived from the data
D. It is a composite key

Correct Answer: Option B


Explanation:
A surrogate key is a system-generated unique identifier, typically numeric, that has no business significance.

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