Inhaltsverzeichnis
2.2 Queries with Linked Tables
SQL queries on Gateway data in Access.
Simple Query
SELECT * FROM Customers WHERE Country = 'Germany' ORDER BY Name;
Join
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#;
Performance Tip
Filters are forwarded to the server - large amounts of data are not loaded locally.
Aggregations
SELECT Country, COUNT(*) AS COUNT FROM Customers GROUP BY Country;
Zuletzt geändert: on 2026/01/29 at 11:23 PM