MySQL – Introduction to CONCAT and CONCAT_WS functions
- by Pinal Dave
MySQL supports two types of concatenation functions. They are CONCAT and CONCAT_WS
CONCAT function just concats all the argument values as such
SELECT CONCAT('Television','Mobile','Furniture');
The above code returns the following
TelevisionMobileFurniture
If you want to concatenate them with a comma, either you need to specify the comma at the…