📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

LOG10



Returns the base-10 logarithm of x. If x is less than or equal to 0.0E0, the function returns NULL.

Syntax

LOG10( <x> )

Examples

SELECT LOG10(100); ┌────────────┐ │ log10(100) │ ├────────────┤ │ 2 │ └────────────┘

Was this page helpful?