Jump to content

Return Records in Random Order


stevesimo

Recommended Posts

Hi, I have a table which stores details of businesses.  I want to know if it is possible using MySQL to generate random results sets.  For example suppose there are a total of 30 rows returned from a query, can MySQL randomly generate the order that these 30 results are ordered or will it always return them in the same order?

 

Thanks, Steve

Link to comment
https://forums.phpfreaks.com/topic/59433-return-records-in-random-order/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.