Hello, I trying to make an inventory Db. and I'm stuck in something that I belived is quite easy but I can't solve it.
How can I make a dynamic total?
Here's the example.
When someone sales an item, it has to shown the quantity of that item has been reduce. The query shoud show something like this:
Code:
IDItem Description SalesDate IDSalesman SaleQty ItemInStock
256 DVD plug 12/09/2010 3 1 45
256 DVD plug 15/09/2010 3 1 44
256 DVD plug 21/09/2010 3 1 43
256 DVD plug 01/10/2010 3 3 40
256 DVD plug 05/10/2010 2 1 39
256 DVD plug 11/10/2010 2 1 38
256 DVD plug 19/10/2010 2 2 36
Other thing is that I really want to learn, so if any can point some good book for learning it will most apreciated (I've already finnish the video course from Lydia.com)
Thanks for the help.