1.

Create a view with one of the columns Salary * 12. Try updating columns of this view. 

Answer»

CREATE VIEW emp_view (v_empno,v_empname,v_avgsal) AS SELECT empno, empname, salary*12 FROM emp;

UPDATE emp_view SET empname = 'MOHAN' WHERE empno=8698;



Discussion

No Comment Found

Related InterviewSolutions