In SQL, the WHERE clause is used in: MCQ with Answer and Explanation

In SQL, the WHERE clause is used in:
A. SELECT, UPDATE, DELETE statements
B. Only INSERT statements
C. Only SELECT statements
D. Only CREATE statements
Answer: Option A
Solution (By JKSSB Mock Tests)
WHERE clause filters records in SELECT, UPDATE, and DELETE operations.

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 addresses partial dependencies, i.e., non-prime attributes dependent on part of a composite primary key?
A. 1NF
B. BCNF
C. 2NF
D. 3NF

Correct Answer: Option C


Explanation:
Second Normal Form (2NF) eliminates partial dependencies by ensuring all non-key attributes are fully functionally dependent on the entire primary key.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What is the primary difference between data and information?
A. Data is raw facts, while information is processed data
B. Data is always structured, information is unstructured
C. There is no difference between data and information
D. Data refers to hardware, information to software

Correct Answer: Option A


Explanation:
Data consists of raw, unprocessed facts, whereas information is data that has been processed and given meaning for decision-making.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which property of ACID ensures that a transaction is treated as a single unit that either fully succeeds or fully fails?
A. Consistency
B. Atomicity
C. Durability
D. Isolation

Correct Answer: Option B


Explanation:
Atomicity ensures that all operations within a transaction are completed successfully; otherwise, the transaction is aborted and all changes are rolled back.

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