I want to exclude a person's primary name if a preferred name is in a table. Thanks
type name id
primary Cynthia Doe 1
preferred Cyd Doe 1
primary William Doe 2
preferred John Doe 3
Needed results
type name id
preferred Cyd Doe 1
primary William Doe 2
preferred John Doe 3
type name id
primary Cynthia Doe 1
preferred Cyd Doe 1
primary William Doe 2
preferred John Doe 3
Needed results
type name id
preferred Cyd Doe 1
primary William Doe 2
preferred John Doe 3