Commit for fig 7.5 deleting queries