Grouping Conditional Statements
In an advanced database query, it may be necessary to not only use multiple conditions, but also to group those conditions together so that more complex searches can be performed.
- To group conditional
statements
- Open Query Builder.
- Click the Conditions tab and add all conditional statements.
- For the first condition of the group, click in the opening parenthesis symbol “(“ column.
- For the last condition of the group, click in the closing parenthesis symbol “)” column.
- Repeat until all desired grouping is in place. Sublevels of grouping are possible, but may be confusing. Every subsequent condition will be applied as a sublevel of the condition preceding it.
- To remove the group from
conditional statements
- For the first condition of the group, click next to the opening parenthesis symbol “(“.
- For the last condition of the group, click next to the closing parenthesis symbol “)”.
- Modify connectors as necessary.