FACTORIAL (Lakehouse v1)
Devolve o fatorial de x. Se x for menor ou igual a 0, a função devolve 0.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.factorial( <x> )Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.factorial(5)
┌───────────────────┐│ func.factorial(5) │├───────────────────┤│ 120 │└───────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”FACTORIAL( <x> )Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT FACTORIAL(5);
┌──────────────┐│ factorial(5) │├──────────────┤│ 120 │└──────────────┘