All pages
Powered by GitBook
1 of 1

Loading...

REVERSE

Reverse a string. This function returns the string with the order of its characters reversed.

Syntax

REVERSE(str)

Description

Returns the string str with the order of the characters reversed.

Examples

This page is licensed: GPLv2, originally from

SELECT REVERSE('desserts');
+---------------------+
| REVERSE('desserts') |
+---------------------+
| stressed            |
+---------------------+
fill_help_tables.sql