Log In
Learn SQL
All Lessons
Free Lessons (0)
1.
Talk to a Table
Say “Hello” to the Table
Quiz: Say “Hello” to the Table
Challenge: Say “Hello” to the Table
Pick the Columns You Want
Quiz: Pick the Columns You Want
Challenge: Pick the Columns You Want
Find the Rows That Matter
Quiz: Find the Rows That Matter
Problem: Find the Rows That Matter
Use Comparisons and Logic
Quiz: Use Comparisons and Logic
Problem: Use Comparisons and Logic
Sort the Answers
Quiz: Sort the Answers
Problem: Sort the Answers
Problem: Help a Pet Lover
Mock Interview
SQL Personalized Practice for Beginners
2.
Ask Better Questions
Do Math with Your Data
Quiz: Do Math with Your Data
Problem: Do Math with Your Data
Group Things Together
Quiz: Group Things Together
Problem: Group Things Together
Only Keep Interesting Groups
Quiz: Only Keep Interesting Groups
Problem: Only Keep Interesting Groups
Ask Questions About Questions
Quiz: Ask Questions About Questions
Problem: Ask Questions About Questions
Project: Find the Top Performers
3.
Create Your Own World
Create a Table
Quiz: Create a Table
Challenge: Create a Table
Add Some Data
Quiz: Add Some Data
Problem: Add Some Data
Fix Mistakes
Quiz: Fix Mistakes
Problem: Fix Mistakes
Design Better Tables
Quiz: Design Better Tables
Problem: Design Better Tables
Project: Build a Student Tracker
4.
Connect the Dots
Meet the JOIN Family
Quiz: Meet the Join Family
Problem: Meet the JOIN Family
Connect Two Tables
Quiz: Connect Two Tables
Problem: Connect Two Tables
Go Multi-Level
Quiz: Go Multi-Level
Problem: Go Multi-Level
Build a Mini Dashboard
Problem: Build a Mini Dashboard
Project: Library Tracker
Problem: Compute Student CGPA
Project: Build a Game Leaderboard
5.
Learning SQL in the Age of AI
Writing Clear Prompts
Reading SQL Output for Insight
Planning Multi-Step Queries
Safe SQL Habits and Preventing Dangerous Operations
Capstone: Your Personal Budget Tracker
What’s next?
Claim your Certificate
Home
Courses
Learn SQL
Foreign Keys and Database Relationships
Learn how a foreign key connects tables for coherence.
We'll cover the following...
Understanding foreign keys in database
Add a foreign key to the table
Foreign key using CREATE TABLE
Foreign key using ALTER TABLE
Understanding foreign keys in database