SELECT¶
Specifies the columns to be returned by the query.
1 2 3 4 5 6 7 8 9 10 11 12 | |
GROUP BY¶
It groups the data
1 2 | |
**** orther than aggregate function what ever columns we used in select that should mention in in GROUP BY clause ,other wise error will occure.
where :¶
it filters the data
1 2 | |
HAVING :¶
It is same as WHERE clause. In aggregate function WHERE clause does not works so thats why we are using HAVING clause.
1 2 | |