Reputation: 833
I have a table called products containing a field called price and I simply want to double the price on every product. Could you give me a hand with an SQL statement I can run within PHP myAdmin please.
Upvotes: 22
Views: 30258
Reputation: 80639
UPDATE products SET price = price + price;
Didn't want to use multiplication :P
Upvotes: 5