<prompt> Tuseme una meza inayoitwa wafanyakazi na safu mfanyakazi_id, jina, kuanza_tarehe, mshahara, na manager_id. Andika SQL query kupata juu 3 wafanyakazi kulipwa zaidi kwa kila meneja.  <response>: Here is a SQL query that will return the top 3 highest paid employees for each manager: SELECT m.name AS manager_name, e.name AS employee_name, e.salary FROM employees e JOIN employees m ON e.manager_id m.employee_id WHERE SELECT COUNT FROM employees WHERE manager_id m.employee_id AND salary e.salary 2 ORDER BY manager_name, salary DESC;This query will join the table employees to itself on the manager_id, and then rank employees within their manager group according to their salary, choosing only the top 3 by using a subquery with a count. It will return the manager name, employee name, and salary for each of the top 3 highest paid employees, sorted by manager name and salary in descending order. 