Subject | RE: [ib-support] How do I formulate this... |
---|---|
Author | Doug Chamberlin |
Post date | 2002-03-19T03:25Z |
At 03/18/2002 08:15 PM (Monday), DaveR wrote:
select contactid, contacttypeid, max(contactdate) from contacthistory
group by contactid, contacttypeid
>The most recent one for each contact type for a given contactidWhat about:
select contactid, contacttypeid, max(contactdate) from contacthistory
group by contactid, contacttypeid