To delete a column from a table, use the ALTER TABLE statement followed by DROP COLUMN and specify the name of the column to delete. For example, to delete the subcatid column from the product_items table, the statement would be: alter table product_items drop column subcatid.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
74 views
SQL Queries
To delete a column from a table, use the ALTER TABLE statement followed by DROP COLUMN and specify the name of the column to delete. For example, to delete the subcatid column from the product_items table, the statement would be: alter table product_items drop column subcatid.