Mega Code Archive
Categories
/
PostgreSQL
/
Math Functions
Log(x)
postgres=# -- log(x): Returns the base 10 logarithm of x postgres=# SELECT log(12.0) AS log_12; log_12 ------------------------ 1.07918124604762482772 (1 row) postgres=#