clear all rows mysql code example
Example 1: delete all records from table
DELETE FROM table_name;
Example 2: how to delete all the rows in a table without deleting the table in mysql
delete from tableName;
DELETE FROM table_name;
delete from tableName;