vendredi 20 février 2015

Selecting 10 rows randomly in mysql

How can i get 10 rows randomly from a table with at least 1 million registers? I read about order by random() but many saids it is so slow. which algorithm can i use in this case?





Aucun commentaire:

Enregistrer un commentaire