Increment a database field by 1

With MySQL, how would I updating table field by 1 within a sql command?
Ankur Rajput
Asked 18-06-2020
54

Answer (1)
UPDATE mytable SET logins = logins + 1 WHERE id = 12
Deepak Sharma
Asked 18-07-2018
45 Likes
Comments
Write comment

Submit your answer