tags:

views:

106

answers:

1

My table, for example:

Table money
_uid____cash_
0   |   500
1   |   740
2   |   800

In MySQL, is there a way to write a statement that adds 100 to every entry in the cash column?

Thanks in advance.

+12  A: 
UPDATE money
SET cash = cash + 100;
Chad Birch
Thanks. That's exactly what I was looking for. =]
Salty