C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL LOG10() FunctionThe Log10() is a Math function of MySQL. This function is used to get the base-10 logarithm of given number. Syntaxselect log10(number); Prameter:number: It is the number for getting the log value. ReturnsThis function returns the base-10 logarithm of a number. If the number is less than or equal to 0, this function will return NULL. Example 1Select log10(11); Output: Example 2Select log10(11.5); Output: Example 3Select log10(45.55); Output:
Next TopicMySQL Math
|