The following SQL built-in functions can be called directly from
the mysql namespace. These are described in
the following list, along with their analogous SQL functions:
rand()(MySQLRAND()): Returns a random floating-point valuevin the range 0 <=v< 1.0.sleep((MySQLseconds)SLEEP()): Pauses forsecondsseconds, then returns 0.uuid()(MySQLUUID()): Returns a Universal Unique Identifier (UUID).isUUID((MySQLargument)IS_UUID()): Returns 1 if theargumentis a valid string-format UUID, 0 if it is not a valid UUID, andNULLif the argument isNULL.