how to empty a table sql code example Example 1: delete table sql DROP TABLE table_name; Example 2: empty an sql table TRUNCATE TABLE table_name;