I have two columns in a row: min_value, max_value. Is there a way to do a select like:
min_value
max_value
SELECT RAND(`min_v`, `max_v`) `foo` [..]
Could you do something like this?
SELECT id, (FLOOR( 1 + RAND( ) *60 )) AS timer FROM users LIMIT 0 , 30
See this post