Added working delete all data query.