Skip to main content

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 │
└────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today