Consilio Interview Question

SQL queries, prime number, reverse a string