1.

Which of the following SQL command can be used to modify existing data in a database table?(a) MODIFY(b) UPDATE(c) CHANGE(d) NEWThe question was posed to me in unit test.My question is from A Simple Transaction Model topic in chapter Transactions of Database Management

Answer»

Correct CHOICE is (B) UPDATE

Easy explanation - Syntax : UPDATE table_name

SET column1=value1,column2=value2,…

WHERE some_column=some_value; .



Discussion

No Comment Found

Related InterviewSolutions