Pergunta de entrevista da empresa Amazon

All about SQL statements, not too much difficut.