MySQL Forums
Forum List  »  Optimizer & Parser

Re: ORDER BY RAND() taking too much time
Posted by: Yogesh Salvi
Date: May 03, 2006 01:51AM

The query is like :-
SELECT id, product_title, product_description, price_of_product, image_url FROM products WHERE products.id_pr_data_feed='some_id' ORDER BY RAND() LIMIT 12;

Options: Reply• Quote


Subject
Views
Written By
Posted
10728
April 29, 2006 05:30AM
Re: ORDER BY RAND() taking too much time
3317
May 03, 2006 01:51AM


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.