To use mt_rand() function define min and max numbers. And SEQUENCE(10) and RANDARRAY(10) are used as array argument and by_array argument in the SORTBY function. Finally, the INDEX function returns the 10 random integer numbers as directed by the SEQUENCE function.

Categories