SQL ReferenceSQL FunctionsNumeric FunctionsRANDOMOn this pageRANDOMrandomdescriptionSyntaxDOUBLE random() Returns a random number between 0-1.examplemysql> select random();+---------------------+| random() |+---------------------+| 0.35446706030596947 |+---------------------+keywordsRANDOM