PostgreSQLString FunctionsREVERSE
REPEAT

REVERSEString Functions

SPLIT_PART

Reverses a string.

Syntax

REVERSE(str)

Example

Enter values below to update the example in real time.

serial_no
reversed_serial
devices
SELECT REVERSE(serial_no) AS reversed_serial
FROM devices;