MySQL LOG2() FunctionThe log2() is a Math function of MySQL. This function is used to get the base-2 logarithm of given number. SyntaxParameter:number: It is the number for base-2 logarithm value. Returns:
Example 1Output: Example 2Output:
Next TopicMySQL Math
|