The REVERSE string function returns a string in reverse order. It does the same job in both MS SQL Server and MySQL, with the same name and syntax in both databases.
Syntax:
REVERSE ( string_expression )
Example:
select REVERSE('ABCDEF');
-----------------
FEDCBA

In MySQL, the same function is available with the same name.
Syntax:
REVERSE( str_to_reverse )
Example:
mysql> select REVERSE('ABCDEF');
+--------------------+
| REVERSE('ABCDEF') |
+--------------------+
| FEDCBA |
+--------------------+
