The
HAVING condition specifies the condition or conditions that each group
must satisfy in order to be included in the query output. You can
use a HAVING condition to subset grouped data by using HAVING in the
same query with a GROUPBY and a summary function.
Which divisions in the
previous example have a minimum employee education level that is greater
than 15 years? To find out, select
SAMPLE.EMPINFO and add it to the Selected Tables list. Select
OK.
In the
SQL
QUERY COLUMNS window, select
DIVISION and add it to the Selected Columns list. Remove duplicate values
by selecting
ViewDistinct.