Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

SQL LOG10 Function

LOG10 returns the logarithm with base 10 of the specified value.

LOG10(value) is the same as using LOG(value, 10).

For a different base, use the LOG function instead.

Example

#

This example return the base-10 logarithm of the input value.

SELECT LOG10(100) AS 'Log 100'
Result:  1 record
Log 100
2

Syntax

Syntax of the LOG10 function.

LOG10(value)

value -- a number greater than 0.


You may also like



Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

Guides


vsn 3.1