accomplish how to query insert update delete db