devxlogo

Generating Random Numbers in SQL

Generating Random Numbers in SQL

You can generate a Random number in SQL with the following command:

SELECT RAND() Random_Number

This returns the following value

0.713666525097956

devx-admin

Share the Post: