sql table how to multliply array of numbers fetched from sql table and stored into array and return

后端 未结 3 1328
难免孤独
难免孤独 2021-01-27 23:55

In a sql table how to multiply array of numbers fetched from sql table

Table like given below

Id         country       Person        Money

1           U         


        
3条回答
  •  余生分开走
    2021-01-28 00:44

    If you need to update the rows in the db instead of just getting the new value out, you can also do this in the database and it will be much faster than getting the data out and putting it back in.

    UPDATE Customers SET Money = Money * 2
    

提交回复
热议问题