Pregunta de entrevista de Amazon

Complex SQL queries, Python coding questions using dictionary and python functions