Are you making this #1 SQL Error?

Опубликовано: 07 Август 2026
на канале: Data Wizardry
4,156
141

Today I talk about SQL cardinality, which defines the relationships between two SQL tables in a database. We explore how this can lead to repeat rows which can inflate your data later on, when you plug the data into a dashboard or do analysis.

Note, all patient data contained within this video is fake, and generated by Synthea.

Error @6:11 a many to many will cause extra rows as well. Many to many isn't used very often though.


➡️ FREE DOWNLOAD: SQL Basics in Healthcare:
https://datawizardry.academy/sql-basi...

Point of clarification: at
Covid Vaccine: 12:07, I meant to say "How many patients with Covid Vaccines did we have?"

A good guide on ERDs and crow's foot notation:
https://www.smartdraw.com/entity-rela...

Check out my previous video here if you would like to learn joins:
   • SQL Joins Made VERY SIMPLE!  

// ABOUT DATA WIZARDRY:
Hey I'm Josh! I've been a data analyst in the healthcare industry since 2015. Join me as I teach you how to get a job as a data analyst. I do SQL, Python, Tableau, and Networking tutorials.

// BECOME A CLINICAL DATA ANALYST!
My course teaches you everything you need to know in just 10-12 weeks:
https://datawizardry.academy/clinical...

// FREE WEBINAR!
In this 1-hour webinar, I lay out a roadmap for you to learn how to become a data analyst, and gain healthcare domain knowledge:
https://datawizardry.easywebinar.live...

🔴 YouTube:    / @datawizardry  
🟢 TikTok:   / data.wizardry  
🔵 LinkedIn:   / joshuamatlock  
🔗 Website: https://datawizardry.academy

#sql #dataanalyst #datanalytics #healthcaretechnology #postgresql