Calculate the average task expenses for each department.
SELECT Departments.name, AVG(TaskExpenseTypes.amount) FROM Departments JOIN Employees ON Departments.id = Employees.department_id JOIN Tasks ON Employees.id = Tasks.employee_id JOIN TaskExpenseTypes ON Tasks.id = TaskExpenseTypes.task_id GROUP BY Departments.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.