SQL queries on Gateway data in Access.
SELECT * FROM Customers WHERE Country = 'Germany' ORDER BY Name;
SELECT c.Name, o.OrderDate, o.Total FROM Customers AS c INNER JOIN Orders AS o ON c.Id = o.CustomerId WHERE o.OrderDate > #2024-01-01#;
Filters are forwarded to the server - large amounts of data are not loaded locally.
SELECT Country, COUNT(*) AS COUNT FROM Customers GROUP BY Country;