Database Design Basics
ER diagrams, keys, normalization and SQL schemas that stay correct
Data & AIQuery, filter, summarize and join data with confidence
Finish the 11 lessons (about 2 h 10 min) and pass the 20-question final exam. Your Certificate of Completion is ready the moment you pass.
Almost every app, website and business runs on a database, and SQL is the language used to ask those databases questions. Analysts use it to answer "how many customers ordered last month?", developers use it to power apps, and marketers, product managers and researchers use it to get their own answers instead of waiting for someone else's report. SQL has been around for about half a century and is still one of the most requested skills in data job listings.
This free course teaches SQL from zero in one sitting. You'll work with one small, realistic bookstore database throughout: a table of books, a table of customers and a table of orders. Because the data is small enough to see in full, you can check every query result with your own eyes and really understand what each clause does.
You'll start with what a relational database is and write your first SELECT query. Then you'll filter rows with WHERE, combine conditions, match patterns with LIKE and handle the tricky NULL value correctly. Next you'll summarize data with COUNT, SUM and AVG, group results with GROUP BY and filter groups with HAVING. The joins module explains primary and foreign keys and shows exactly how INNER JOIN and LEFT JOIN combine tables, plus subqueries and common table expressions. Finally, you'll create tables and insert, update and delete rows safely using constraints and transactions.
The course is for complete beginners: career changers, students, analysts who live in spreadsheets, and anyone curious about data. No installation is needed. Every lesson mixes short explanations with spot-the-bug challenges, result predictions and quick checks, and you can earn a free certificate of completion by passing the final exam.
Understand how relational databases store data, then write SELECT queries that pick columns, sort results and limit rows.
Choose exactly the rows you need with WHERE, combine conditions correctly, match patterns, and handle missing values without surprises.
Turn many rows into answers with aggregate functions, then group and filter summaries with GROUP BY and HAVING.
Design related tables with keys, combine them with INNER and LEFT joins, and break complex questions down with subqueries and CTEs.
Create tables with the right data types and constraints, then insert, update and delete rows safely using transactions.
20 questions drawn from a pool of 34. Score 70% or more to pass; retakes get a fresh set of questions.
In SQL, the keywords SELECT and select mean the same thing.
True or false?
Answer: True
SQL keywords are case-insensitive. Capitalizing them is a readability convention, not a requirement. Be careful, though: text values in quotes, such as 'Austin' versus 'austin', may be compared case-sensitively depending on the database and its settings.
The core of SQL used in everyday analysis, namely SELECT, WHERE, GROUP BY and JOIN, can be learned in a few focused hours, which is what this course covers. Becoming fluent takes a few weeks of regular practice on real data, and advanced topics such as window functions and query tuning take longer.
Start with standard SQL as taught here; it works almost identically in PostgreSQL, MySQL, SQLite, SQL Server and Oracle. Dialects differ in details such as how to limit rows, date functions and string concatenation. PostgreSQL and SQLite are free and popular choices for practice.
SQL is a declarative query language: you describe the result you want, and the database figures out how to get it. It is not a general-purpose language like Python or JavaScript, but modern SQL is powerful enough to express complex logic, and it is used alongside general-purpose languages in most software.
WHERE filters individual rows before they are grouped, while HAVING filters groups after aggregation. Use WHERE for conditions on raw columns, such as price above 20, and HAVING for conditions on aggregates, such as groups with more than five orders.
Not for this course. Afterward, you can practice with SQLite, which is a single small file, with a free PostgreSQL or MySQL installation, or with online SQL playgrounds that run in the browser.
SQL databases store data in tables with defined columns and relationships and are queried with SQL. NoSQL databases use other models, such as documents, key-value pairs or graphs, which can suit flexible or massive-scale data. Many organizations use both, and relational databases remain the most common choice for business data.
No. It is a certificate of completion showing you finished the lessons and passed the exam. It demonstrates initiative and core SQL knowledge, but it is not an academic or vendor certification.
ER diagrams, keys, normalization and SQL schemas that stay correct
Data & AIAsk good questions, clean data, summarize it honestly and turn numbers into decisions
Data & AINumPy, pandas, data cleaning, charts and a first model with scikit-learn
Data & AIThe statistics analysts use every day, from skewed averages to A/B tests
Data & AIHow AI works, what it can and cannot do, and how to use it wisely
Data & AIFix missing values, messy text, bad dates, duplicates and outliers with a repeatable process
Data & AI