Mersenne Twister Random Number

The rand_mt function returns the a random number which is ≥ 0 and < 1. It is generated using the Mersenne Twister algorithm.

The syntax of the Mersenne Twister random number function is



SELECT rand_mt();

 This function can only be used if the library is loaded as a plugin.