Find the top customers based on total sales amount.
SELECT Accounts.Name, SUM(SalesInvoiceLines.Quantity * SalesInvoiceLines.Price) AS TotalSales FROM Accounts JOIN SalesInvoices ON Accounts.ID = SalesInvoices.AccountID JOIN SalesInvoiceLines ON SalesInvoices.ID = SalesInvoiceLines.InvoiceID GROUP BY Accounts.Name ORDER BY TotalSales DESC LIMIT 10
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.