MySQL string

There is a character in the A, ready to put B in front of a, the results of Ba, use the MySQL function can be made.
Not concat oh. Concat is a string on the back of another string,

Started by Van at November 21, 2016 - 9:32 PM

mysql> select reverse(concat('a','b'));
+--------------------------+
| reverse(concat('a','b')) |
+--------------------------+
| ba |
+--------------------------+
1 row in set (0.00 sec)

Posted by Algernon at December 06, 2016 - 10:09 PM

concat('b','a')

Posted by Shirley at December 07, 2016 - 10:49 PM

SELECT CONCAT('b','a') FROM dual ; CONCAT parameters of the function can be a string or variable or attribute can be !

Posted by Elvis at December 16, 2016 - 10:54 PM