Skip to content

Returns the logarithm of a number with a specified base.

func.log(<base>, <x>)
func.log(10, 100)
┌─────┐
2.0
└─────┘
LOG(<base>, <x>)
SELECT LOG(10, 100);
┌─────┐
2.0
└─────┘