Mastering SQL - PostgreSQL: Performing Aggregations – Total, Group, and HAVING Clause
Автор: itversity
Загружено: 2020-11-21
Просмотров: 417
Описание:
Master SQL aggregations with this comprehensive tutorial on PostgreSQL! Learn how to perform global aggregations, group-by aggregations, and advanced filtering with the HAVING clause. This video is designed to help beginners and experienced users write optimized SQL queries for data analysis and reporting.
What you’ll learn:
✔ Difference between global (total) and group-by aggregations.
✔ Using aggregate functions like SUM, COUNT, MIN, MAX, and AVG.
✔ Grouping data by keys such as dates, products, or categories.
✔ Filtering aggregated data with the HAVING clause.
✔ Best practices and query execution order in SQL.
Timestamps
0:00 - Introduction to SQL aggregations
0:40 - Group-by aggregations: Grouping data by keys
1:36 - Joining tables for advanced aggregations
1:51 - Filtering aggregated data with the HAVING clause
2:29 - Rules for using GROUP BY and HAVING
3:34 - Query execution order in SQL (FROM, WHERE, GROUP BY, HAVING, SELECT, ORDER BY)
4:36 - Example: Counting total orders in a dataset
6:07 - Example: Aggregating order revenue by date
7:08 - Example: Calculating daily product revenue
8:51 - Using HAVING for filtering aggregated results
9:33 - Sorting data with ORDER BY after aggregation
10:49 - Validating queries for accurate results
Continue Your Learning Journey with PostgreSQL! 🚀
✅ Previous Video: • Mastering SQL - PostgreSQL: Outer Joins Ex...
✅ Next Video: • Mastering SQL - Postgresql: Writing Basic ...
✅ Full Course: • Master PostgreSQL: Complete Beginner to Ex...
Connect with Us:
Newsletter: http://notifyme.itversity.com
LinkedIn: / itversity
Facebook: / itversity
Twitter: / itversity
Instagram: / itversity
👉 Don’t forget to subscribe to / itversityin YouTube channel for more tutorials!
#sql #database #postgresql #sqlaggregation #sqlqueries
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: