if i have a list of products with a value containing the number of items in stock held in my mysql db...
ie;
fluffy hat = 6
smelly coat = 8
fancy pants = 4
how could i make an update query that could adjust these values, either adding or subtracting from them, to obtain a new value.. but across multiple rows...
so for example i've sold a bunch of stuff and bought some new stock...
fluffy hat = 6 (-1)
smelly coat = 8 (-3)
fancy pants = 4 (+5)
any ideas??