C2L BIZ interview question

WAP to reverse a string? oops concepts,sql joins,keys, program on maths (money)