Pregunta de entrevista de Binance

Some SQL questions in the first two rounds.