Last updated 1 year ago
Makes a concatenation of string values with others using a separator between them ().
CONCAT_WS( separator, expression1, ... ,expressionN )
separator: Separator to join.
separator
expression1, ... ,expressionN: Expression to be found into a string.
expression1, ... ,expressionN:
String value, depends on the input received.
SELECT CONCAT_WS(' ', 'Mariah','Carey') AS NAME;
NAME| ------------+ Mariah Carey|