Professional Documents
Culture Documents
2.Update
The UPDATE command is used to modify the existing records in a table.
Syntax:-
update table_name set column1 = value1, column2 = value2, ...where
condition;
Example:-
update Student set Name ='Renu joshi' where Roll_Number=2;
update Student set Course ='MCA' where Roll_Number=3;
3.Delete
The DELETE command is used to delete existing records in a table.
Syntax:-
delete from table_name where condition ;
Example:-
delete from Student where Roll_number=2;