Data Semantics Interview Question

palindrome program ,sql basic to advance