Aloha Technology interview question

Reverse string and some SQL questions for logical test