Chapter 91. Non-Type-Specific Operators and Functions

Table of Contents

Parentheses
Comparison Operators
Logical Operators
Control Flow Functions

Parentheses

( ... )

Use parentheses to force the order of evaluation in an expression. For example:

mysql> SELECT 1+2*3;
        -> 7
mysql> SELECT (1+2)*3;
        -> 9