Pergunta de entrevista da empresa swipejobs

Implement a SQL query to select some data with condition