MySQL Forums
Forum List  »  Performance

Re: Index usage (subquery with MAX)
Posted by: Ulf Wendel
Date: May 04, 2005 09:31AM

Hi,

give me a hand, is that equivalent to your subselect?

SELECT
f1.data,
MAX(f2.time) as f2_time
FROM
foo AS f1,
foo AS f2
WHERE
f1.name = f2.name
GROUP BY
f2.name

Ulf

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Index usage (subquery with MAX)
1516
May 04, 2005 09:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.