SQL ManualSQL FunctionsMath FunctionsrandomOn this pagerandomrandomdescriptionSyntaxDOUBLE random() Returns a random number between 0-1.examplemysql> select random();+---------------------+| random() |+---------------------+| 0.35446706030596947 |+---------------------+keywordsRANDOM