mntID Cstn Cusid Reid Renam
1 32241 2224141 ton
2 32241 2224141 Me
3 32241 2274144 6245 Me
How could I use the illustration above to show: If you have the same [Cstn] and [Cusid] with one or more entry and the [Reid} value is null delete any other entries for that same [Cstn] without the same [Reid] and [Cusid] and the [Reid] is not null. So looking at the illustration I would delete row 3.
1 32241 2224141 ton
2 32241 2224141 Me
3 32241 2274144 6245 Me
How could I use the illustration above to show: If you have the same [Cstn] and [Cusid] with one or more entry and the [Reid} value is null delete any other entries for that same [Cstn] without the same [Reid] and [Cusid] and the [Reid] is not null. So looking at the illustration I would delete row 3.