Which SQL command is used to create a new table? MCQ with Answer and Explanation

Which SQL command is used to create a new table?
A. UPDATE
B. INSERT
C. SELECT
D. CREATE TABLE
Answer: Option D
Solution (By JKSSB Mock Tests)
The CREATE TABLE command in DDL is used to define a new table structure in SQL.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which type of subquery executes once for each row evaluated by the outer query, depending on values provided by the outer statement?
A. Scalar Subquery
B. Independent Subquery
C. Static Subquery
D. Correlated Subquery

Correct Answer: Option D


Explanation:
A Correlated Subquery is an inner query that references columns from the outer query, meaning it must be executed repeatedly for each row evaluated by the outer query.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which property of ACID ensures that a transaction is treated as a single unit that either fully succeeds or fully fails?
A. Atomicity
B. Durability
C. Isolation
D. Consistency

Correct Answer: Option A


Explanation:
Atomicity ensures that all operations within a transaction are completed successfully; otherwise, the transaction is aborted and all changes are rolled back.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which of the following is a method to avoid deadlock?
A. Using a timeout
B. Lock ordering
C. All of the above
D. Deadlock detection and resolution

Correct Answer: Option C


Explanation:
Strategies to handle deadlocks include timeout, lock ordering, and detection with rollback.

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