Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 451 Bytes

reversed_strings.md

File metadata and controls

15 lines (11 loc) · 451 Bytes

Description

Complete the solution so that it reverses the string passed into it.

'world' => 'dlrow'
'word' => 'drow'

Comment

-- # write your SQL statement here: you are given a table 'solution' with column 'str', return a table with column 'str' and your result in a column named 'res'.

My Solution

SELECT str, REVERSE(str) AS res FROM solution;