How to retrieve a row, biased by populatity?

Dave Hodgkinson davehodg at gmail.com
Tue Aug 21 21:22:42 BST 2012


Possibly a perl question. SQL would do...

Given a set of data, say bands, with each having a ranking, either a
review metric or a sales ranking, how would you retrieve a random
row, but biased towards the higher ranking?



More information about the london.pm mailing list