Deloitte interview question

Write SQL queries and program for palindrome