Implement Delete query