Point72 interview question

Write a SQL query.