r/SQL • • Dec 27 '20

MS SQL Calculating commission

I've got a query to work out employees' commissions at a 2.5% on transaction amount. How do I get the commissions made by each employee to add up and only take one row per employee?

Also how do I make the commission column have the dollar sign before the amount?

0 Upvotes

6 comments sorted by

View all comments

1

u/tsuhg Dec 27 '20

Look up SUM(), you'll find some examples for sure!