+ 1

How can i change the value of an item with a assign value?

I want to change the value of an item to a new value when the value is less than a certain value.. like change 1000 to 5000 when 1000 is less than 2000

1st Mar 2017, 7:35 PM
Luqmaan Mudasiru
Luqmaan Mudasiru - avatar
3 ответов
+ 5
Update table set value = 5000 where value < 2000; add more conditions to where if necessary.
1st Mar 2017, 7:39 PM
Mario L.
Mario L. - avatar
+ 1
Alright thanks, it worked 😘😘😘😘
2nd Mar 2017, 7:43 AM
Luqmaan Mudasiru
Luqmaan Mudasiru - avatar