Listing 5.5 Added lots of examples of writing where queries.