Home  >  Article  >  Database  >  How to use the REVERSE() function in MySQL

How to use the REVERSE() function in MySQL

王林
王林forward
2023-05-30 19:24:101423browse

REVERSE()

REVERSE(str)The function is used to reverse the order of characters in the string str. For example:

SELECT REVERSE('上海自来水来自海上')='上海自来水来自海上' AS "回文";
回文|
----+
   1|

The above is the detailed content of How to use the REVERSE() function in MySQL. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete