PostgreSQLNumeric FunctionsLOG
LN

LOGNumeric Functions

RANDOM

Returns the logarithm base b.

Syntax

LOG(b, x)

Example

Enter values below to update the example in real time.

log10_result
SELECT LOG(10, 1000) AS log10_result;  -- 결과: 3