Useful Links
Computer Science
Data Science
SQL for Data Analysis
1. Introduction to SQL and Relational Databases
2. Basic SQL Query Structure
3. Fundamental SQL Queries
4. Advanced Filtering and Selection
5. Data Aggregation and Grouping
6. Joining Tables
7. Data Transformation and Manipulation
8. Subqueries and Derived Tables
9. Window Functions and Advanced Analytics
10. Set Operations and Advanced Queries
11. Views and Temporary Objects
12. Advanced Data Types and Semi-Structured Data
13. SQL for Data Analysis Applications
14. Performance Optimization and Best Practices
Data Aggregation and Grouping
Aggregate Functions
COUNT Function
COUNT with Asterisk
COUNT with Column Names
COUNT DISTINCT
SUM Function
AVG Function
MIN Function
MAX Function
Statistical Functions
STDDEV
VARIANCE
String Aggregation Functions
The GROUP BY Clause
Grouping Concepts
Grouping by Single Column
Grouping by Multiple Columns
Grouping by Expressions
Grouping by Column Position
GROUP BY with NULL Values
The HAVING Clause
Filtering Grouped Results
HAVING vs WHERE
Using Aggregate Functions in HAVING
Complex HAVING Conditions
Grouping Sets
ROLLUP Operator
CUBE Operator
GROUPING SETS Clause
GROUPING Function
Combining Aggregation with Other Clauses
Aggregation with ORDER BY
Aggregation with LIMIT
Nested Aggregation
Previous
4. Advanced Filtering and Selection
Go to top
Next
6. Joining Tables