Guest User

Untitled

a guest
Apr 26th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. select inv_number, sum(line_units*line_price) as total
  2. from my_table
  3. group by inv_number
  4.  
  5. select sum(LINE_PRICE), INV_NUMBER FROM YOURTABLE GROUP BY INV_NUMBER
Add Comment
Please, Sign In to add comment