Jan 12, 2015 | 0 comments MySQL rand with min and max Simple thing if you want to have min and max in SQL query. ROUND((RAND() * (max-min))+min) mysql