CONCAT
Joins several values into one string, skipping NULL.
Syntax
CONCAT(<value1>, <value2>, …)
CONCAT_WS(<separator>, <value1>, <value2>, …)
Converts the arguments to text and joins them one after another. Unlike the || operator, NULL doesn't “swallow” the whole result — it's simply skipped. CONCAT_WS puts a separator between the values for you.