Which of the following SQL commands belongs to the Data Definition Language (DDL) category? MCQ with Answer and Explanation

Which of the following SQL commands belongs to the Data Definition Language (DDL) category?
A. UPDATE
B. INSERT
C. SELECT
D. CREATE
Answer: Option D
Solution (By JKSSB Mock Tests)
The CREATE command is a DDL statement because it defines, modifies, or creates database structures like tables, schemas, or indexes.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which of the following is a property of a well-designed database?
A. Avoidance of data redundancy
B. Ease of data maintenance
C. Support for efficient data retrieval
D. All of the above

Correct Answer: Option D


Explanation:
Good database design aims to minimize redundancy, simplify maintenance, and provide efficient access.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which condition-tester returns TRUE if a subquery returns one or more records, and FALSE if the subquery returns no rows?
A. EXISTS
B. ALL
C. IN
D. ANY

Correct Answer: Option A


Explanation:
The EXISTS operator is used to test for the presence of any records in a subquery, returning TRUE as soon as a single matching row is encountered.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which constraint ensures that a column cannot have NULL values?
A. FOREIGN KEY
B. PRIMARY KEY
C. UNIQUE
D. NOT NULL

Correct Answer: Option D


Explanation:
NOT NULL constraint enforces that a column must have a value, preventing NULL entries.

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