TATA ELXSI interview question

Write a update query in sql