Hey I have two tables inventory_tbl and withdrawal_tbl I want query such that sum of inventory table and subtract it from sum of withdrawal table .
Output=sum(inventory_tbl)-sum(withdrawal_tbl)
Thanks in Advance
Hey I have two tables inventory_tbl and withdrawal_tbl I want query such that sum of inventory table and subtract it from sum of withdrawal table .
Output=sum(inventory_tbl)-sum(withdrawal_tbl)
Thanks in Advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ali tuncerPosted Mar 12, 2016, 11:42 PM
(SELECT SUM(amount) FROM withdrawal_tbl)
AS RESULT