in reply to MySQL question
Of course, what I REALLY want is the title from the document with the greatest version.Well, in a real database, you'd do that as:
But since MySQL doesn't have subselects... {heh heh}.SELECT title FROM atable WHERE version = (SELECT MAX(version) FROM ata +ble)
Time to upgrade to PostgreSQL. Better, faster, cheaper, and more powerful. And able to do typical database things as the big boys do them.
-- Randal L. Schwartz, Perl hacker
update: after the later clarification, see my other post "•Re: Re: Re: MySQL question" for a more accurate solution...
In Section
Seekers of Perl Wisdom