English

Shopkeeper needs to change the first name of one of his customers in table 'customer'. Which command should he use for the same?

Advertisements
Advertisements

Question

Shopkeeper needs to change the first name of one of his customers in table 'customer'. Which command should he use for the same?

Code Writing
Advertisements

Solution

Use the UPDATE command with a WHERE condition identifying the required customer.

UPDATE customer
SET name = 'NewName'
WHERE custno = 101;
shaalaa.com
  Is there an error in this question or solution?
Chapter 10: Structure Query Language - EXERCISE [Page 196]

APPEARS IN

CBSE Computer Science with Python [English] Class 12
Chapter 10 Structure Query Language
EXERCISE | Q 6. | Page 196
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×