MySQL Function Reference

LOG
Returns the logarithm of a number
MySQL 8.1
LOG(base, num)
base
Foundation of the algorithm
num
The number from which the algorithm is taken
Examples
MySQL 8.1
SELECT LOG(10, 100);