-
Which keyword is used to delete all the rows from the table?
-
- DELETE ALL
- CLEAR
- TRUNCATE
- REMOVE
- None of these
Correct Option: C
The ‘TRUNCATE’ keyword in MySQL is used to delete all the rows from the table and also free the space containing the table. Its syntax is: TRUNCATE TABLE my_table. This deletes all rows from my_table.