' HAVING ' clause is used to filter out the column with aggregate functions like count, sum, avg, min, max. It is done based on groups created by the GROUP BY Clause.
' WHERE ' clause can't be used to filter the column with an aggregate function. It is only used to filter normal columns.
Some of the examples are-
# | Program | Language |
---|---|---|
1 | SQL | |
2 | SQL | |
3 | SQL | |
4 | SQL | |
5 | SQL | |
6 | SQL | |
7 | SQL | |
8 | SQL | |
9 | SQL | |
10 | SQL | |
11 | SQL | |
12 | SQL | |
13 | SQL | |
14 | SQL | |
15 | SQL | |
16 | SQL | |
17 | SQL | |
18 | SQL | |
19 | SQL | |
20 | SQL | |
# | Program | Language |
Copyright © 2020 Inovatik - All rights reserved