Adding in mysql?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

Adding in mysql?

Post by Citizen »

Is it possible to do something like...

Code: Select all

UPDATE `tablex` SET `columnx` += 1
?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Code: Select all

UPDATE `tablex` SET `columnx` = `columnx` + 1
enjoy.
Post Reply