a guest Feb 13th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- sum(salary + bonus) AS s,
- sum(debt) AS d,
- (sum(salary + bonus) - sum(debt)) AS total
- FROM test_table
- GROUP BY employe;
RAW Paste Data