in reply to Re: mySQL queryin thread mySQL query
The solution outlined by Abigail-II is generic for any Relational database server, and should be as fast (or faster) with proper indexes.
Michael