返回 x 的阶乘。如果 x 小于或等于 0,函数返回 0。
x
FACTORIAL( <x> )
SELECT FACTORIAL(5); ┌──────────────┐ │ factorial(5) │ ├──────────────┤ │ 120 │ └──────────────┘