delete all of mysql code example
Example 1: delete all content in table mysql
TRUNCATE tablename
Example 2: how to delete all the rows in a table without deleting the table in mysql
delete from tableName;
TRUNCATE tablename
delete from tableName;