Pergunta de entrevista da empresa State of Vermont

How would write a query to get x information from y table?