FACTORIAL (Lakehouse v1)
Retorna o logaritmo fatorial de x. Se x for menor ou igual a 0, a função retorna 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 de SQL
Seção intitulada “Exemplos de SQL”SELECT FACTORIAL(5);
┌──────────────┐│ factorial(5) │├──────────────┤│ 120 │└──────────────┘