I am editing a Base Query. (Base 25.2.4.3 on Windows 11 Pro.)
I get a SQL Syntax error when I try to save.
SQL Status: HY000
Error code: 1000
Syntax error in SQL statement
- Are these codes documented anywhere?
- Anyone want to venture a guess what is wrong with my statement? Route, Order, Last and Address are all columns in Clients.
SELECT "Route", "Order" + '-' + "Last" as "Label", "Address" + ', Sonoma, CA' AS "Full_Addr" FROM "Clients" WHERE ( "Route" = 'A' OR "Route" = 'B' OR "Route" = 'C' OR "Route" = 'D' OR "Route" = 'E' OR "Route" = 'F' ) ORDER BY "Route" ASC, "Order" ASC
Thanks!