Reverse a string. This function returns the string with the order of its characters reversed.
REVERSE(str)
Returns the string str with the order of the characters reversed. If the input string is NULL, the function returns NULL.
str
NULL
SELECT REVERSE('desserts'); +---------------------+ | REVERSE('desserts') | +---------------------+ | stressed | +---------------------+
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated 1 month ago
Was this helpful?