katrina11
Technical User
- Apr 30, 2011
- 108
Good morning experts!
I have list of members with :
memberid
,claimid
,office Visite date
,Hospital Discharge date
(they are about Hospital Discharge Date).However I have multiple office Visits for the discharge
while I just need a list of unique discharges.It should look like the following:
Thank you for your consideration and help!
Katrin
I have list of members with :
memberid
,claimid
,office Visite date
,Hospital Discharge date
I need to leave unique dischargesmemberid OfficeVisitDate HospDischDate
ss1111111 2010-08-23 2010-07-09
ss1111111 2010-09-20 2010-07-09
ss1111111 2010-11-22 2010-07-09
ss1111111 2010-12-28 2010-07-09
ss1111111 2010-12-28 2010-10-30
ss1111111 2010-12-28 2010-10-31
(they are about Hospital Discharge Date).However I have multiple office Visits for the discharge
while I just need a list of unique discharges.It should look like the following:
How can I implement it in SQL code? Could you please help me with it?ss1111111 2010-08-23 2010-07-09
ss1111111 2010-12-28 2010-10-30
ss1111111 2010-12-28 2010-10-31
Thank you for your consideration and help!
Katrin