We use analytics and advertising cookies to understand how the site is used and whether our ads on Facebook and Instagram work. They are set only if you accept. See our Privacy Policy for details.
Return the 'name' of each department whose average employee 'salary' is greater than 100000, along with that average as 'avg_salary'. Join 'departments' to 'employees'.