Question: what is the difference between truncate and delete in mysql?
Answer: Truncate removes all the rows from a table. Delete with a where clause can delete rows (as specified using where clause) from a table. Drop will delete a table from the database. Drop and Truncate are DDL commands, whereas DELETE is a DML command.