inboxHub
Login
Signup
x
Login
Signup
Home
Categories
Application
Artificial Intelligence
Database
Digital Marketing
Physiotherapy
Quality Assurance
Web Technology
Home
Increment-a-database-field-by-1
Increment a database field by 1
With MySQL, how would I updating table field by 1 within a sql command?
Ankur Rajput
Asked 11-11-2024
187
Answer (1)
UPDATE mytable SET logins = logins + 1 WHERE id = 12
Deepak Sharma
Asked 18-07-2018
45 Likes
Comments
Write comment
Submit
Submit your answer