MySQL log10()函數
LOG10(X)
該函數返回底數10的對數X.
mysql>SELECT LOG10(100); +---------------------------------------------------------+ | LOG10(100) | +---------------------------------------------------------+ | 2.000000 | +---------------------------------------------------------+ 1 row in set (0.00 sec)