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. DEFAULT
B. NOT NULL
C. UNIQUE
D. CHECK
Answer: Option A
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
Which SQL set operator combines the output of two queries but preserves all duplicate rows without filtering them?
A. INTERSECT
B. UNION ALL
C. UNION
D. MINUS

Correct Answer: Option B


Explanation:
UNION ALL appends the results of multiple SELECT queries together without performing any deduplication, making it faster than UNION.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which of the following is a characteristic of the relational model?
A. Relationships are represented through keys
B. Data is accessed via SQL
C. Data is stored in tables
D. All of the above

Correct Answer: Option D


Explanation:
The relational model organizes data in tables, uses keys for relationships, and is queried using a language like SQL.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is the main advantage of using a DBMS?
A. Reduced application development time
B. All of the above
C. Data sharing and concurrency control
D. Data integrity and security

Correct Answer: Option B


Explanation:
DBMS provides numerous benefits including data sharing, concurrency control, integrity, security, and reduces development time.

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