I need a different random number for each row in my table. The following seemingly obvious code uses the same random value for each row.
SELECT table_name,
Do you have an integer value in each row that you could pass as a seed to the RAND function?
To get an integer between 1 and 14 I believe this would work:
FLOOR( RAND() * 14) + 1