scalar

LOG

Base-ten logarithm in PostgreSQL and SQLite math extension; not universal. Example target: PostgreSQL 17. No tables or extensions required.

Formal Syntax & Structure

sql syntaxsql
LOG(x)

Working Example

Example Snippetsql
SELECT log(100);
SQL Reference