Pregunta de entrevista de Sia

Solve Python & SQL tests, one question each but pretty easy if you prepare well