मराठी

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. - Computer Science (Python)

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2021-2022 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×