reverse
description
Syntax
VARCHAR reverse(VARCHAR str)
将字符串反转,返回的字符串的顺序和源字符串的顺序相反。
example
mysql> SELECT REVERSE('hello');
+------------------+
| REVERSE('hello') |
+------------------+
| olleh |
+------------------+
1 row in set (0.00 sec)
mysql> SELECT REVERSE('你好');
+------------------+
| REVERSE('你好') |
+------------------+
| 好你 |
+------------------+
1 row in set (0.00 sec)
keywords
REVERSE