insert help

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Guest
Use an UPDATE statement, such as the following:

Code:
UPDATE table1 SET cash = cash + 0.10 WHERE id = 123;
 
Use SELECT to test if the member already has a row. If so, just UPDATE its value.

If not, create a new row using INSERT and whatever starting value you want.
 
Back
Top