This is a discussion on Keeping count within the MySQL forums, part of the Database Server Software category; --> Hi, I am trying to keep count of an item. Table: id | item | count I want to ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| >I am trying to keep count of an item. > >Table: id | item | count > >I want to increment count by 1 when item is accessed using one SQL >statement. Is this possible? UPDATE tablefoo set count = count + 1 where id = 666; Gordon L. Burditt |