Creates a small database table called dog and populates with hql. Creates 2 lookup tables breedLookup and colorLookup and 4N dog. Joins breedLookup and colorLookup to form a new table dogextended.