1.

Explain update command with example.

Answer»

UPDATE command:

It can be used to change row values from a table. The SET keyword takes the column in which values need to be changed or updated. The WHERE keyword is used to filter the records in some conditions.

Syntax:
UPDATE tablename SET columnname = values WHERE Condition;
Example:
UPDATE student SET combn = ‘PCMCs’ where combn=’pcmc’;



Discussion

No Comment Found

Related InterviewSolutions