Listing 9.40 plus its effects on db schema.