Which of the following is an example of DML command? MCQ with Answer and Explanation

Which of the following is an example of DML command?
A. DROP
B. ALTER
C. INSERT
D. CREATE
Answer: Option C
Solution (By JKSSB Mock Tests)
INSERT is a Data Manipulation Language (DML) command used to add data to tables.

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. DEFAULT
B. CHECK
C. NOT NULL
D. UNIQUE

Correct Answer: Option C


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
Which SQL command is used to modify the structure of an existing table?
A. ALTER
B. CHANGE
C. MODIFY
D. UPDATE

Correct Answer: Option A


Explanation:
ALTER TABLE is a DDL command used to add, delete, or modify columns and constraints in an existing table.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is the purpose of the SQL 'NULL' value?
A. To represent zero
B. To represent missing or unknown data
C. To represent an error
D. To represent empty string

Correct Answer: Option B


Explanation:
NULL is a special marker indicating that a value is unknown or missing, not the same as zero or empty string.

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