week 5, day 2: sql and ruby