List the differences between the following MySql commands.
drop table tablename;
truncate table tablename;
DELETE
because it simply deletes all data. DELETE
will scan the table to generate a count of rows that were affected.delete from tablename;
WHERE
clause.DELETE FROM tablename WHERE username = 'joe'