daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT
  2.    employe,
  3.    sum(salary + bonus) AS s,
  4.    sum(debt) AS d,
  5.    (sum(salary + bonus) - sum(debt)) AS total
  6.       FROM test_table
  7.       GROUP BY employe;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top