Added SQL queries for Part II

covers Section 2.4