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. ALTER
B. CREATE
C. DROP
D. INSERT
Answer: Option D
Solution (By JKExamLibrary)
INSERT is a Data Manipulation Language (DML) command used to add data to tables.

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

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
What is the purpose of the SQL 'JOIN' clause?
A. To combine rows from two or more tables based on a related column
B. To combine columns from multiple tables into a single table
C. To create a new table
D. To delete records from a table

Correct Answer: Option A


Explanation:
JOIN is used to combine rows from different tables based on a common column, allowing querying across related tables.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
Which type of JOIN combines all rows from the left table and all rows from the right table, filling in NULLs wherever a match is missing on either side?
A. Full Outer Join
B. Inner Join
C. Natural Join
D. Cross Join

Correct Answer: Option A


Explanation:
A Full Outer Join combines the behavior of both Left and Right Outer Joins, returning all rows from both tables and applying NULL values where matches do not exist.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
What is the default sorting order when using the ORDER BY clause in an SQL statement?
A. Random
B. Ascending
C. Alphabetic only
D. Descending

Correct Answer: Option B


Explanation:
By default, the ORDER BY clause sorts the query results in ascending order unless specified otherwise using the DESC keyword.

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