CBSE Class 12 Computer Science Question 16 of 79

Table Creation and Data Manipulation Commands — Question 10

Back to all questions
10
Question

Question 10

What is the error in following statement ?

UPDATE EMPL ;
Answer

The error in the statement UPDATE EMPL; is that it is incomplete. The UPDATE command specifies the rows to be changed using the WHERE clause and the new data using the SET keyword. Therefore, the statement is incomplete as it lacks both the SET and WHERE clauses.