SELECT Statements
The following features are supported for the SELECT statement:
- Return all columns:
SELECT * FROM Customers
- Rename a column:
SELECT "CompanyName" AS MY_CompanyName FROM Customers
- Search data:
SELECT * FROM Customers WHERE Country = 'US';
- The following operators are supported in the WHERE clause: =.
SELECT * FROM Customers WHERE Country = 'US';
- Summarize data:
SELECT MAX(Balance) FROM Customers
- Retrieve data from multiple tables.
SELECT "Restaurants"."restaurant_id", "Restaurants".name, "Restaurants:Grades".* FROM "Restaurants:Grades" JOIN "Restaurants" WHERE "Restaurants".name = 'Morris Park Bake Shop'
See JOIN Queries for details.