Pregunta de entrevista de Toptal

General SQL questions on window functions, union, and subqueries.