Apache-presto-math-function-random

提供:Dev Guides
移動先:案内検索

Apache Presto-数学関数random(x)

問い合わせ

presto:default> select random(6) as random_value;

結果

random_value
--------------
    2

結果として乱数が生成されます。