Nokia Interview Question

they asked basic python qsns-palindrome, anagram then sql qsns,- different types of keys, and asked u to write some statements