Remove bad data added in previous sql