Hi all
Sorry for a newbie question, but I have been trying to solve this issue for ages and have not come up with anything yet!
I have the following example data:
SiteID Contract
0001 No
0002 No
0002 Yes
0003 Yes
0004 Yes
0004 No
I want to return the following:
SiteID Contract
0001 No
0002 Yes
0003 Yes
0004 Yes
What I am trying to do is Group by SiteID, and if a SiteID has multiple rows, to only return the row with Yes in the Contract column
Can someone please help me with this?
Many thanks
Naz