command to delete a table in sql code example Example 1: delete table sql DROP TABLE table_name; Example 2: delete table DROP TABLE table_name;