PostgreSQL REVERSE() function
REVERSE() function
The PostgreSQL reverse() function is used to arrange a string in reverse order.
Syntax:
reverse(<string>)
PostgreSQL Version: 9.3
Pictorial Presentation of PostgreSQL REVERSE() function

Example: PostgreSQL reverse() function:
In the example below, the string 'w3resource' have arranged in reverse order.
Code:
SELECT reverse('w3resource');
Sample Output:
reverse ------------ ecruoser3w (1 row)
Previous: RIGHT function
Next: Date and Time Operators
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework