I have this query:
Select (Country.Name + ', ' + City.Name) as Location
...
Where Location like '%Punta Cana%'
Since it works without the 'where' I naively assumed it could just work. Well, it doesn't and throws the error: Invalid column name 'Location'. Does anyone has the time to please explain why doesn't it work and what would be the working alternative?