You can't delete all columns with ALTER TABLE; use DROP TABLE instead code example Example: alter table delete column ALTER TABLE "table_name" DROP "column_name";