Hi there, I have a small question for you all (and yes I have searched the
documents but not be able to found what I want)

Lets say that I have a table with these values 1, 5 and 7
is it possible to create an sql query that will "loop" through these values
a certain amount of time for example if i wanted 8 rows I would get 1, 5, 7,
1, 5, 7, 1, 5  as output..

I'm currently doing this looping in my application but it would speed things
up if mysql could do this for me..

since I could then do some joins and retrieve values from other tables
faster.

/Christian Andersson




---------------------------------------------------------------------
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