Which of the following statements correctly updates the Bill column in the Customer table by
Which of the following statements correctly updates the Bill column in the Customer table by
applying a 10% discount only for customers who belong to the 'High privilege' account?
Show answerHide answer
Correct answer: (C) UPDATE Customer SET Bill = Bill / 1.1 WHERE Account = 'High privilege';
Explanation
UPDATE ... SET ... WHERE changes only the rows that match. Dividing by 1.1 gives the discounted bill, and the WHERE clause limits it to 'High privilege' accounts. MODIFY is not DML, and B has no WHERE.