Edit

reverse

Description

This function returns a string with the characters in reverse order.

Syntax

VARCHAR reverse(VARCHAR str)

Examples

MySQL > SELECT REVERSE('hello');
+------------------+
| REVERSE('hello') |
+------------------+
| olleh            |
+------------------+
1 row in set (0.00 sec)

keyword

REVERSE