INTEGRITY Documentation

SQL queries supported

This page outlines the SQL features supported by Log Explorer, including common aggregation functions, expressions, and query clauses.

The diagram below illustrates the general shape of a valid query supported in Log Explorer. It shows how standard SQL clauses — such as SELECT, WHERE, GROUP BY, and ORDER BY — can be composed to form supported queries.

Supported SQL grammar

Examples of queries include:

SQL Clauses in detail

The following SQL clauses define the structure and logic of queries in Log Explorer:

The sections that follow break down the remaining components shown in the diagram — such as aggregation functions, string and numeric expressions, and supported operators — in more detail.

Functions

Log Explorer supports a range of SQL functions to transform, evaluate, or summarize data. These include scalar and aggregation functions.

Scalar functions

These help manipulate or evaluate values (often strings):

Aggregation functions

Used to perform calculations on sets of rows:

The diagram below represents the grammar for SQL expressions including scalar and aggregate functions.

Scalar and aggregate functions

Expressions

Conditions or logic used in queries:

The diagram below represents the grammar for SQL expressions, detailing the various forms an expression can take, including columns, literals, functions, operators, and aliases.

SQL expressions

The diagram below defines the grammar for unary operators, which operate on a single operand (for example, negation or logical NOT):

Grammar for unary operators

Binary Operators

Used for arithmetic, comparison, logical operations: