Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 2nd, 2012  |  syntax: None  |  size: 0.20 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to update a field of a table with some percentage of its value in SQL?
  2. update Mytable set Sal=1.05*sal where departmentId=xxx
  3.        
  4. update Employee set salary = (salary * 1.05) where Dept = 'Accounts'