log10 function

The log10 function returns the logarithmic value with base 10 for the specified expression.

Syntax:

double log10(n)

Semantics:

Example 1 - log10 function

SELECT log10(n) FROM PHtable
Value of n Output
1 0.0
10 1.0
1.0E-7 -7.0