excalibur78
IS-IT--Management
I'm trying to get 2 selects to do simple math operations like add and subtract like:
SELECT Sum([DatatecConcentrators]) FROM [Inventory Tracking] -
SELECT Sum([Quantity]) FROM [Products] WHERE [Item Name] = 'Concentrators'
Where the top select return say 100 and the bottom returns 75 then it returns 25 as the result.
Thanks ahead of time.
David
SELECT Sum([DatatecConcentrators]) FROM [Inventory Tracking] -
SELECT Sum([Quantity]) FROM [Products] WHERE [Item Name] = 'Concentrators'
Where the top select return say 100 and the bottom returns 75 then it returns 25 as the result.
Thanks ahead of time.
David