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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
ali tuncerRank #1,499 · 1.1K reputationPosted Mar 12, 2016, 6:42 PM EST
(SELECT SUM(amount) FROM withdrawal_tbl)
AS RESULT