reverse function
The
reverse
function returns the characters of the source string in
reverse order, where the string is written beginning with the last character
first.returnvalue reverse(source)
source ::= any*
returnvalue ::= string
Example: Display the full name and reverse the full name of the
passenger with ticket number
1762330498104.
SELECT fullname, reverse(fullname)
FROM baggageInfo
WHERE ticketNo=1762330498104
Output:
{"fullname":"Michelle Payne","Column_2":"enyaP ellehciM"}