SELECT * FROM members where name like 'A%' ORDER BY RAND();

John Barton
Unix Systems Administrator
Primary Networks, Inc.
[EMAIL PROTECTED]

On Tue, 6 Mar 2001, Matt "TrollBoy" Wiseman wrote:

> I'm attempting to do a select from my table, but the only odd thing is the
> customer wants the results to be completely random every time...
> 
> is there anything like this??
>   $query = "SELECT * FROM members where Name like 'A%' ORDER BY random";
> 
> 
> 
> Matt "Trollboy" Wiseman
> www.shoggoth.net/trollboy/trollboy.jpg
> [EMAIL PROTECTED]
> "I wish the world had one throat!!"
> -Al Bundy
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to