Question: what is the difference between delete and truncate 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.