in reply to Re: Re: MySQL question
in thread MySQL question
Again, this won't work in puny MySQL. PostgreSQL or better, baby!SELECT title, doc_num, version FROM atable WHERE (doc_num, version) IN ( SELECT doc_num, MAX(version) FROM atable GROUP BY doc_num );
-- Randal L. Schwartz, Perl hacker
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: •Re: Re: Re: MySQL question
by rbc (Curate) on Mar 29, 2002 at 17:10 UTC |