RSS Feed

SQL Update

Update Statement is used to change existing values in a table or a view's base table.

Example 1 :

update emp
          set sal = sal*2.25
          where deptno = 30

Example 2 :

update emp
          set sal = sal*2.25
          where empno in ( select empno from emp_1 )


QC-5
41) C, 42) E, 43) A, 44) B, 45) A, 46) B, 47) A, 48) C, 49) B, 50) B

1 comment:

  1. This is really too useful and has more ideas from your blog. Keep sharing many techniques. We are waiting for your new blog and for useful information.

    Oracle Fusion financial

    ReplyDelete