MySQL Forums
Forum List  »  Newbie

Re: How to select the latest record from a joined table base on certain field?
Posted by: Felix Geerinckx
Date: June 20, 2005 12:57AM

Anthony Wong wrote:

> and I want to select the the Player information from Player table and just its latest (base of
> Score_Date) Score information from Player_Score table.
> ...
> However, the above queries cannot correctly return the Player_Score.Score value in the same
> record with the max Score_Date for that Player_No.
>
> The Score value returned seem to be the first Score value from the set of record in the same
> Player_no.

See http://dev.mysql.com/doc/mysql/en/group-by-hidden-fields.html

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to select the latest record from a joined table base on certain field?
June 20, 2005 12:57AM


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.