Skip to content

Complying with the SQL 92 standard, SQL functions in Simple Log Service include linear transformation functions, aggregate functions, window functions, and custom functions of Simple Log Service, such as time series functions, AI algorithm analysis functions, and log clustering functions.

This topic describes the SQL syntax and various types of functions used in Simple Log Service.

SQL syntax

group by

order by

case when and if

having

join

nested subqueries

ANY/SOME

unnest

Functions

General comparison functions

General aggregate functions

Date and time functions

String functions

JSON functions

Complex functions

Array functions

Map

Regular expression functions

URL functions

Mathematical calculation functions

Mathematical statistics functions

Approximate functions

Interval-valued comparison functions and periodicity-valued comparison functions

Window function

Bitwise functions

Geospatial functions

IP geolocation functions

Security check functions

Mobile number functions

Time series clustering functions

AI algorithm analysis functions

Correlation analysis functions

Smooth functions