SQL is a really cool language. I can write really complex business logic with this logic programming language. I was again thrilled about SQL recently, at a customer site:
Given a string, find all substrings from that string, which are palindromes. Challenge accepted! (For the moment, let’s forget about algorithmic complexity.)
His answer is in Postgres syntax, and a commenter includes Oracle syntax. T-SQL is left as an exercise for the reader.