Skip to content
KnowledgeCity

MySQL: Joins

How to effectively use joins.
Preview the first lesson free — get full access to all 4 lessons.
Course: On-Demand
Advanced Provider Kati Gordon  4 Lessons ·  13m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

This module discusses using joins in PostgreSQL. Joins allow you to merge data across tables. You’ll also learn about aggregate functions, which perform a calculation on a set of rows and return a single row. Then, you’ll learn how to use rollouts and cubes to create subtotals. Cubes and rollups allow you to create subtotals for multiple group sets rather than just one. This module explains this concept in depth. Finally, this module explores the fetch first function.

What You'll Learn

  • Merge data across tables using joins
  • Apply aggregate functions to perform a calculation on a set of rows and return a single row
  • Create subtotals for multiple group sets using rollups and cubes
  • Distinguish between the cube and rollup operations
  • Use the fetch first function to limit returned rows

Key Takeaways

  • Joins allow you to merge data across tables.
  • Aggregate functions perform a calculation on a set of rows and return a single row.
  • Cubes and rollups allow you to create subtotals for multiple group sets rather than just one.
  • The module also explores the fetch first function.

Frequently Asked Questions

What topics does this module cover?

It covers using joins to merge data across tables, aggregate functions, using rollups and cubes to create subtotals, and the fetch first function.

What is the difference between cube and rollup as taught here?

Both cubes and rollups allow you to create subtotals for multiple group sets rather than just one, and the module explains this concept in depth; understanding the difference between cube and rollup is one of its stated learning objectives.

What do aggregate functions do?

According to the module, aggregate functions perform a calculation on a set of rows and return a single row.

What skills are associated with this course?

The associated skills include Database Programming, MySQL, PL/pgSQL, PostGIS, PostgreSQL, and SQL (Programming Language).

What lessons are included?

The lessons are Using Joins, Aggregate Functions, Using Rollups & Cubes to Create Subtotals, and Fetch First.