- Select employees that don't have a boss in the same department?
- Select all departments along with the total salary there
- Select departments that have less than 3 people in it
- Select all departments along with the number of people there
- Select employees who have the biggest salary in their departments
- Select employees (names only) who have a bigger salary than their boss
- Provide a stored procedure including all of the answers above
- Respond to the following question: your select query has over 50 joins and is painfully slow. Which steps would you take to speed its execution? You cannot create indexes, as this is a DBA task, and we assume they have been created correctly