Query Activity

Given a scenario, apply SQL to produce the desired results.