MySQL RAND Function

MySQL RAND function is one of the Mathematical Functions used to return or generate the random numbers between 0 and 1. The syntax of the RAND is as shown below: SELECT RAND();SELECT RAND(n); Generally, this MySQL RAND function generates numbers between 0.0 to 1.0. However, if you want a random integer, then you have to … Read more