delete column data from table in sql code example
Example 1: alter table delete column
ALTER TABLE "table_name" DROP "column_name";
Example 2: how to delete a table data in sql
DELETE FROM table_name; //will delete the table data without affecting the table structue
Example 3: sql delete column
Deletes a column from a table.
Example: Removes the first_name column from the users table.
ALTER TABLE users
DROP COLUMN first_name