This README contains explanations and examples of common SQL concepts, aggregate functions, and queries.
It is used to arrange identical data into groups. We can perform operations on the values of each group.
Where is used to filter rows and having is used to filter groups.
COUNT(*) counts all rows, including rows with NULL values where as count(column) counts all non-NULL values in that columns.
Yes we can group by multiple columns by having other column names after group by separated with commas.
It is used to round numeric values to a specified number of decimal places.
We can first use group by to group different departments and then use MAX to determine the highest salary of that department.
The default behaviour of group by is not guaranteed. It depends upon order by.
AVG(column) returns the average of that particular column values. SUM(column) returns the sum of the column values.
We use COUNT(DISTINCT column) to count the number of distinct values.
It performs calculations on multiple rows and returns a single value like count, sum, min, max etc.










