I need a query that includes 3 tables and 2 inner joins. One of the column names in my SELECT statement includes a space (an existing database), so it looks something like:
SELECT tblCar.Purchase Price AS Price
SQL doesn't like the space of course. I tried brackets [tblCar.Purchase Price]
, and single and double quotation marks "tblCar.Purchase Price"
, as well as tblCar.[Purchase Price]
, but none of them fly.
Any ideas how to handle a column name with a space in this SELECT statement?