MySQL Forums
Forum List  »  General

Re: Finding a record's position when sorted
Posted by: Felix Geerinckx
Date: November 15, 2006 03:21AM

toasty Wrote:

> I have a record (with a unique index associated to it), and want to know
> what position it would appear in if I sorted the whole table by "popularity".
> Or by any other number of complicated ORDER BYs.

Maybe you will find some inspiration here and here.

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

Options: ReplyQuote


Subject
Written By
Posted
Re: Finding a record's position when sorted
November 15, 2006 03:21AM


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.