Reputation: 175
I need to add a character after a value. For example:
SELECT brand FROM `autoinfo` WHERE 1
result:
Audi Ford ...
I need to that result:
Audi w Ford w ...
How can I do this?
Upvotes: 2
Views: 16041
Reputation: 247670
If you need to concatenate a symbol after the brand, then use the CONCAT() function:
brand
CONCAT()
SELECT concat(brand, ' w') as brand FROM `autoinfo` WHERE 1;
Upvotes: 17