Syntax
LOG10(X)
Purpose
You can call this function to return the logarithm of X to base 10.
Examples
obclient> SELECT LOG10(1000);
+-------------+
LOG10(1000)
+-------------+
3
+-------------+
1 row in set (0.01 sec)
obclient> SELECT LOG10(-1000);
+--------------+
LOG10(-1000)
+--------------+
NULL
+--------------+
1 row in set, 1 warning (0.00 sec)