Which constraint ensures that every value in a specific column is unique across all rows in that table, but still permits a NULL value? MCQ with Answer and Explanation

Which constraint ensures that every value in a specific column is unique across all rows in that table, but still permits a NULL value?
A. CHECK
B. PRIMARY KEY
C. FOREIGN KEY
D. UNIQUE
Answer: Option D
Solution (By JKSSB Mock Tests)
The UNIQUE constraint prevents duplicate entries in a column. Unlike a Primary Key, a UNIQUE constraint typically allows one or more rows to store NULL values depending on the database engine.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which constraint ensures that a column cannot accept or store an unassigned or missing value?
A. UNIQUE
B. NOT NULL
C. CHECK
D. DEFAULT

Correct Answer: Option B


Explanation:
The NOT NULL constraint explicitly forces a column to always contain a value, preventing blank or NULL entries.

This question belongs to: Computer Database Management System (DBMS)
Question #2
The ability to modify the physical schema without forcing application programs to be rewritten is called what?
A. Physical Data Independence
B. Data Redundancy
C. Structural Integrity
D. Logical Data Independence

Correct Answer: Option A


Explanation:
Physical Data Independence is the ability to modify the physical schema (like storage devices or file structures) without changing the conceptual or external schemas.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Information is:
A. Processed and meaningful form of data
B. Programming code
C. Raw facts and figures
D. Hardware component

Correct Answer: Option A


Explanation:
Information is data that has been organized and processed to provide context and meaning.

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