Which SQL component is used to specify a fallback default value for a column when no value is provided during an insert operation? MCQ with Answer and Explanation

Which SQL component is used to specify a fallback default value for a column when no value is provided during an insert operation?
A. CHECK
B. NOT NULL
C. UNIQUE
D. DEFAULT
Answer: Option D
Solution (By JKSSB Mock Tests)
The DEFAULT constraint assigns a predefined default value to a column when an INSERT statement does not explicitly provide a value for that column.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
What is the role of the 'WHERE' clause in an UPDATE statement?
A. To sort the results
B. To specify which rows to update
C. To join tables
D. To specify the new values

Correct Answer: Option B


Explanation:
The WHERE clause in UPDATE identifies the rows that will be updated. Without it, all rows would be updated.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What geometric symbol is used in an Entity-Relationship (ER) diagram to represent a relationship between entities?
A. Circle
B. Diamond
C. Rectangle
D. Oval

Correct Answer: Option B


Explanation:
Diamonds are utilized in ER diagrams to depict relationships between two or more entities.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What does ACID stand for in database transactions?
A. Accuracy, Control, Integrity, Data
B. Access, Create, Insert, Delete
C. Atomicity, Consistency, Isolation, Durability
D. All Correct Information Display

Correct Answer: Option C


Explanation:
ACID properties ensure reliable transaction processing in DBMS.

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