Deloitte Interview Question

Write SQL queries and program for palindrome