To add a HAVING clause
to a data query:
-
-
On the
Fields tab,
expand the table node, and select the column to use for filtering
data. The
Output Columns node includes the
calculated columns.
Tip
You can type in
Filter
fields to locate the column.
-
Double-click the column
or drag and drop it in the
SQL expression area.
-
(Optional) You can click
the
Functions tab and select the functions
to use with filtering.
-
For character variables,
you can click
Unique Values to load the
unique values of the column. Select the check boxes to specify the
unique values to include in the filter.
Click
Apply to
add the unique values to the
SQL expression area.
-
Edit the HAVING clause
in the
SQL expression.
The syntax
is identical to that shown in step 6 of Specify a WHERE Clause.
-
Click
to save the filter.