delete, insert, update methods for Query class