Mysql常用函数的汇总,可看下面文章

https://www.cnblogs.com/poloyy/p/12890763.html

 

reverse 的作用

将字符串反转,即顺序取反

 

reverse 的语法格式

reverse(s)

小栗子

SELECT REVERSE('hello'); # olleh

SELECT REVERSE(123456); # 654321