Using the Northwind sample database, what is the best way to run an update query that updates the UnitsInStock field based on what has been sold? That is the table is updated based on a particular orderid and only on that orderid. Running an update query at the moment updates the table on all orders and therefore updating the same item several times. I hope I have explained the problem well enough. Can anyone help? Thanks in advance