Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If the tables are related, then you can try JOIN (INNER, LEFT, RIGHT).
string CONCAT(str1 string, str2 string,...)
Concatenates strings The result is a string of arguments. Returns NULL if any of the arguments is NULL. There can be more than 2 arguments. Numeric arguments are converted to the appropriate strings.
Examples:
mysql> select CONCAT('My', 'S', 'QL');
-> 'MySQL'
mysql> select CONCAT('My', NULL, 'QL');
-> NULL
mysql> select CONCAT(14.3);
-> '14.3'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question