Skip to content

Returns a random floating-point value between 0 (inclusive) and 1 (exclusive).

func.rand([<seed>])
func.rand()
┌───────────┐
│ 0.6347... │
└───────────┘
RAND([<seed>])
SELECT RAND();
┌───────────┐
│ 0.6347... │
└───────────┘