Apache-presto-math-function-mod

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

Apache Presto-数学関数mod(n、m)

問い合わせ

presto:default> select mod(2,4) as mod_value;

結果

 mod_value
-----------
    2

ここでは、(2,4)モジュラスの結果は2です。