Take the below table
Col 1 | Col2 |
---|---|
aa | null |
aa | date |
aa | null |
bb | date |
cc | null |
cc | null |
dd | date |
dd | date |
What I'm looking to return would be the below where col 1 is returned only if col 2 is date only rows with null and date or just null removed.
Col 1 | Col2 |
---|---|
bb | date |
dd | date |
dd | date |