0% 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.

Uploaded by

api-3848319
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% 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.

Uploaded by

api-3848319
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

To delete a column from a table

alter table product_items drop column subcatid

You might also like