Course
Simulator
More
Premium
Log in
PostgreSQL Function Reference
Functions
LOG
LOG
Returns the logarithm of a number to a specified base.
PostgreSQL 17.5
LOG
(
base
,
num
)
base
The base
num
The number
Examples
PostgreSQL 17.5
SELECT
LOG
(
10
,
100
)