MySQL Forums
Forum List  »  Russian

Re: SQL Group By и сортировка
Posted by: alex alexx
Date: December 01, 2008 05:33PM

я так понимаю что мускуль выдает по наименьшему значению,
попробуй такие варианты..

GROUP BY userId ORDER BY created
GROUP BY 'userID, created'

Options: ReplyQuote

Written By
Re: SQL Group By и сортировка
December 01, 2008 05:33PM

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.