Reverses the order of characters in a string. The first character becomes the last and vice versa.
STRINGDiperbarui: 13 Jun 2026REVERSE(value)The string to reverse
1 SELECT REVERSE('Hello') as result;
Reverses a string.
1 SELECT 2 word, 3 LOWER(word) = LOWER(REVERSE(word)) as is_palindrome 4 FROM UNNEST(['level', 'hello', 'radar', 'world']) as word;
Checks whether a word is a palindrome.
| word | is_palindrome |
|---|---|
| level | TRUE |
| hello | FALSE |
| radar | TRUE |
| world | FALSE |
Sudah paham REVERSE? Latih langsung di browser
Latihan interaktif, langsung di browser.