I have a table `city` that contains four cities (a,b,c,d)
I am trying to concatenate the city with a string. It is important that the city must come first:
CONCAT(`city`, ' text') should do the trick, but I am getting the following:
However if I reverse the CONCAT order to CONCAT('text ', `city`), then I get the proper string attachments:
What does this behavior indicate?
I am trying to concatenate the city with a string. It is important that the city must come first:
CONCAT(`city`, ' text') should do the trick, but I am getting the following:
Code:
a b c d text
Code:
text a text b text c text d
Comment