Calculate the average number of employees per department.
SELECT d.department_name, AVG(e.total_employees) as avg_employees FROM departments d JOIN (SELECT department_id, COUNT(*) as total_employees FROM employees GROUP BY department_id) e ON d.department_id = e.department_id GROUP BY d.department_name
Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.