Hi Guys
apologies if this is a newbie question.
I've written a simple select statement as follows:
select CONCAT(firstNames,' ' , lastName) as 'fullname' from Customers
the query works fine and lists correctly. I have a name which shows as Joe Bloggs (as well as others) I then try to add the following:
where 'fullname' = 'Joe Bloggs'
my list is then blank even though I know I have a firstName of Joe and a lastName of Bloggs. I've tried 'like' instead of '=' and its no different.
I'm sure its something straight-forward, what am I missing?
Thanks in advance.
Aaron