Guest User

Untitled

a guest
Mar 19th, 2016
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.23 KB | None | 0 0
  1. SELECT Department.Name,
  2.        SUM(Bonus.Amount) AS DepartmentTotalBonusSize
  3.   FROM Department
  4.        JOIN
  5.        Employee ON Department.Id = Employee.DepartmentId
  6.        JOIN
  7.        Bonus ON Employee.ID = Bonus.EmployeeId;
Advertisement
Add Comment
Please, Sign In to add comment