scalar

LN

Natural logarithm of a positive number. Example target: PostgreSQL 17. No tables or extensions required.

Formal Syntax & Structure

sql syntaxsql
LN(x)

Working Example

Example Snippetsql
SELECT ln(1);
SQL Reference