Jack Lauman <[EMAIL PROTECTED]> wrote on 11/02/2004 11:47:20: > I have a table containing information about different businesses. I > want to randomly select a single row from the table using a prepared > statement in a java bean. > > What is the most eficient way to do this? Try SELECT <columns> FROM <table> ORDER BY RAND() LIMIT 1 ; Alec -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
- query question Susan Ator
- RE: query question Mike Hillyer
- RE: query question Jay Blanchard
- RE: query question Susan Ator
- Query question Jack Lauman
- Re: Query question Keith C. Ivey
- Re: Query question Roger Baklund
- Re: Query question Patrick Shoaf
- Query Question Jack Lauman
- Re: Query Question Eamon Daly
- Query Question Alec . Cawley
- Query Question MYSQL
- Re: Query Question Richard Davey
- Re: Query Question MYSQL
- Re[2]: Query Question Richard Davey
- Re: Query Question Paul DuBois
- Query Question B. Fongo
- Query question Alex croes
- Re: Query question Don Read
- Query question John Nichel