1if exists(SELECT * from Student where FirstName='Akhil' and LastName='Mittal')
2BEGIN
3 update Student set FirstName='Anu' where FirstName='Akhil'
4End
5else
6begin
7insert into Student values(1,'Akhil','Mittal',28,'Male',2006,'Noida','Tenth','LFS','Delhi')
8end