fix SQL error in chapter 10 file