MCQ Single Best Answer Easy

QWhich DML statement is used to delete all rows from a table in MySQL?

ID: #15489 Data manipulation language - MySQL 86 views
Question Info
#15489Q ID
EasyDifficulty
Data manipulation language - MySQLTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A DELETE TABLE
  • B DROP TABLE
  • C TRUNCATE TABLE
  • D REMOVE TABLE
Correct Answer: Option C

Explanation

The TRUNCATE TABLE statement in MySQL is used to delete all rows from a table. It removes all data, but the table structure remains intact.

Share This Question

Challenge a friend or share with your study group.