मराठी

A customer table is created with cno,cname, and address columns. Evaluate the following statement whether it is correct or not? Delete cname from customer;

Advertisements
Advertisements

प्रश्न

A customer table is created with cno,cname, and address columns. Evaluate the following statement whether it is correct or not?

Delete cname from customer;

कोड लेखन
Advertisements

उत्तर

The statement is incorrect. DELETE removes rows, not columns. To remove a column, use:

ALTER TABLE customer
DROP COLUMN cname;
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 10: Structure Query Language - EXERCISE [पृष्ठ १९६]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
पाठ 10 Structure Query Language
EXERCISE | Q 5. | पृष्ठ १९६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×