hi,
sorry my title is wrong. subtract 2 tables.
i know this is simple for you guys, but i cant find a way
can anyone please help me...
i want to subtract the sum() of my field from 2 tables.
Code:
SELECT amount as 'sum' FROM mafee_db.mafee_capital_tbl where acc_type = 'cash on hand'
-
SELECT sum(principal) as 'sum' FROM mafee_db.pawnshop_tbl where servicetype = 'pawn'
thanks in advance