MySQL Forums
Forum List  »  PHP

Re: How to prevent a record from being affected by the ORDER BY RAND() function
Posted by: Peter Brawley
Date: June 19, 2019 09:30AM

select ... where atype='static' order by ... excludes other atypes but doesn't solve your problem.

It appears modelling "all|none of the above" questions by setting atype to null is insufficient for the requirement.



Edited 1 time(s). Last edit at 06/19/2019 09:31AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to prevent a record from being affected by the ORDER BY RAND() function
June 19, 2019 09:30AM


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.