Both solutions I offered filter the entire line.
Not just one field.
Unless I've totally misunderstood what you mean by CSV?
(As an aside, if the source is already filtered, unix has a command uniq that removes duplicate lines from pre-sorted files,so in my first solution just change sort -u for uniq)