Having trouble with a union statement. Front end is MS Access, back end is MySQL (MariaDB5)
The union query works fine when the tables are located within the database. Once I moved the tables to the MySQL database (accessed through MYODBC) I now recieve a #1064 Error at line 1. Here is the union;
SELECT ModelName, "Main Floor" AS Room, MainFlrTotalCarpet As SqFt FROM
Dec_Models
UNION SELECT ModelName, "Bedrooms Only", BedroomsTotal FROM Dec_Models
UNION SELECT ModelName, "Second Floor Hall", SecondFlrHall FROM Dec_Models;
UNION SELECT ModelName, "Loft", Loft FROM Dec_Models;
Any help is greatly appreciated.