How do I increase percentage in SQL query / stored procedure?

前端 未结 2 647
梦如初夏
梦如初夏 2021-01-20 15:41

How do I increase percentage in SQL query / stored procedure?[closed] been answered!

2条回答
  •  余生分开走
    2021-01-20 16:10

    To select, try this:

    select  name, salary * 1.1 from Employee where Eno='113';
    

    to update

    update employee set salary = salary * 1.1 where eno = '113'
    

提交回复
热议问题