11.3.27 REVERSE(S)函数
REVERSE(S)函数返回与字符串S顺序完全相反的字符串,即将字符串S反转。使用示例如下:
mysql> SELECT REVERSE('binghe');
+-------------------+
| REVERSE('binghe') |
+-------------------+
| ehgnib |
+-------------------+
1 row in set (0.00 sec)
REVERSE(S)函数返回与字符串S顺序完全相反的字符串,即将字符串S反转。使用示例如下:
mysql> SELECT REVERSE('binghe');
+-------------------+
| REVERSE('binghe') |
+-------------------+
| ehgnib |
+-------------------+
1 row in set (0.00 sec)