Dofactory.com
Dofactory.com
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 freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

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



Last updated on Dec 21, 2023

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 freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.