IBM interview question

Given data, use SQL to make a specific query.