0

Pls how can i add an integer to an already existing integer in a column

let's say i have 5 in a column(named line) where id = 1 ..i want to add 10 to it so that it will update as 15

15th Feb 2022, 10:12 AM
Mac Anthony
Mac Anthony - avatar
2 Respuestas
+ 2
Without seeing your code, it is a bit of a guess, but I would suggest line[1] +=10
15th Feb 2022, 10:19 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
Hi Mac, I see you nearly completed SQL tutorial, did you forget this chapter? https://www.sololearn.com/learn/SQL/1869/
15th Feb 2022, 10:32 AM
Ipang