random

UK[ˈrændəm] US[ˈrændəm]

adj.Random; arbitrary; random

n.Random; Accidental Action

SQLite RANDOM function syntax

Function:SQLite RANDOM function returns a pseudo-random integer between -9223372036854775808 and 9223372036854775807

Syntax:sqlite> SELECT random() AS Random

SQLite RANDOM function example

实例:

sqlite> SELECT random() AS Random;

上面的 SQLite SQL 语句将产生以下结果:

Random
-------------------
5876796417670984050