Hi all,
I was asked for this query and thought it would be easy but I've struggled with it for more that two hours now.
For simplicity purposes, I have the following table:
Table: CD
Member ID, Code, Date
100, MINF03, 03/30/2005
101, MINF04, 03/30/2005
102, MINF04, 03/30/2005
102, MINF05...