I can not figure out a way to do this...maybe you all can.

I have a query that has an inner join and returns
 scf zips, an ID, and a date

SCF     ID      Date
006     BWG     07/28/2005
006     BWG     07/30/2005
006     BWG     08/05/2005
006     BWG     08/15/2005
006     BWG     08/18/2005
006     BWG     08/22/2005
006     CMWEB   07/29/2005
006     CMWEB   07/30/2005
006     CMWEB   08/09/2005
006     CMWEB   09/16/2005

And on and on

I would like to return only the top 3 dates by ID

SCF     ID      Date
006     BWG     07/28/2005
006     BWG     07/30/2005
006     BWG     08/05/2005
006     CMWEB   07/29/2005
006     CMWEB   07/30/2005
006     CMWEB   08/09/2005

Can you do this???

Christian


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:6:2312
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/6
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:6
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to