I have a table looking similar to this
I needed a query that brings back the person who has more than the average salary in their branch. In order to achieve