-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With rollback
DELETE FROM my_table;
COMMIT;
/* Will delete all rows from your table. Next insert will take next auto increment id. */
DELETE from tableName;
/* Will delete all rows from your table but it will start from new row with 1. */
TRUNCATE tableName;
TRUNCATE tablename
TRUNCATE table_name;
DELETE FROM table_name
WHERE condition;
Code language: SQL (Structured Query Language) (sql)