Advertisements
Advertisements
प्रश्न
A SQL table ITEMS
contains the following columns:
INO, INAME, QUANTITY, PRICE, DISCOUNT
Write the SQL command to remove the column DISCOUNT
from the table.
कोड लेखन
उत्तर
ALTER TABLE ITEMS DROP COLUMN DISCOUNT;
Explanation:
Alter is a DDL command in SQL that allows us to change the table's structure.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?