A table, ITEM has been created in a database with the following fields:
ITEMCODE, ITEMNAME, QTY, PRICE
Give the SQL command to add a new field, DISCOUNT (of type Integer) to the ITEM table.
Answer
ALTER TABLE Item
ADD (Discount INT);


CBSE Class 12 Sample Paper for 2022 Boards [Term 2] - Computer Science
CBSE Class 12 Sample Paper for 2022 Boards [Term 2] - Computer Science
Last updated at Dec. 14, 2024 by Teachoo
Answer
ALTER TABLE Item
ADD (Discount INT);