instantOLAP Online documentation 2.6.1 - Brackets

Brackets

Syntax

<bracket-expression> := '(' <sql-expression> ')'

Description

Brackets in SQL-Expression allow to control the evaluation-order of its sub-expressions. By encapsulating parts of your expression in brackets, you will force the database to evaluate the content of the brackets first before using their result with the outer operators. You also may encapsulate multiple brackets - then the expressions will be executed from the inner to the outer.

Examples

( 10 + 20 ) * 30

= 900

10 + 20 * 30

= 610

( CUSTOMER.FIRSTNAME IS NULL ) OR ( CUSTOMER.LASTNAME IS NULL )

Using the Web-Frontend
Using the Workbench
Using the Query-Editor
Using the Config-Editor
Concepts
Query properties
Chart properties
Configuration properties
Expressions
Formats
SQL-Expressions
SQL-Expressions in instantOLAP
Syntax
Tables and columns
Constants
Operators
Functions
Aggregation functions
SQL Passthrough
Brackets