AAII interview question

Create a SQL Query to fetch x data