Welcome... I'm sure Jochem's works well too -- assuming the db
supports a natural join on an aliased sub-query ... I honestly had
never seen that before, so I have no idea what the support for it is
like with various db's. But it did peak my curiosity. :)

> I knew there was any easier way to do this.

> Thanks
> -- Jeff

> ----------------------------------------
>  From: S. Isaac Dealey <[EMAIL PROTECTED]>
> Sent: Friday, May 20, 2005 9:16 AM
> To: CF-Talk <cf-talk@houseoffusion.com>
> Subject: Re: OT: SQL Query Question

> select t.* from test t where t.actid in
> (SELECT MAX(t2.actID) FROM test t2 where t2.crID = t.crID)

> ought to work...


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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

Reply via email to