Delete query-edit