SQL for Beginners
Query, filter, summarize and join data with confidence
Data & AIER diagrams, keys, normalization and SQL schemas that stay correct
Finish the 12 lessons (about 2 h 45 min) and pass the 20-question final exam. Your Certificate of Completion is ready the moment you pass.
Almost every app, website and business system sits on a database, and the quality of its design decides whether the data stays trustworthy for years or slowly fills with contradictions. This free course teaches you how to design relational databases the way professionals do: from a plain-language description of a business to a clean, normalized schema written in SQL.
You'll start with the relational model: tables, rows and columns, primary keys, natural and surrogate keys, data types, NULL and the constraints that protect data. Then you'll learn conceptual modeling with entity-relationship diagrams: finding entities and attributes in interview notes, deciding cardinality and participation, reading crow's foot notation, resolving many-to-many relationships with junction tables, and mapping everything to tables with foreign keys.
The normalization module shows why badly designed tables cause update, insert and delete anomalies, and how functional dependencies guide you through first, second, third and Boyce-Codd normal form. You'll also learn when deliberate denormalization makes sense. Finally, you'll write the design in SQL with CREATE TABLE and constraints, query it back together with joins and GROUP BY, speed it up with the right B-tree indexes, and keep it correct under concurrent use with transactions and ACID.
The course is for students, junior developers, analysts and anyone who works with data and wants to design databases rather than just use them. Basic familiarity with spreadsheets is enough; SQL is introduced as needed. One running bookstore example ties the lessons together, with scenarios, calculators and quick checks throughout, and passing the final exam earns you a free certificate of completion.
Why databases beat spreadsheets for shared data, how the relational model organizes it in tables, and how keys, data types and constraints protect it.
Turn requirements into entities, attributes and relationships, read and draw crow's foot diagrams, and map a model to tables with foreign keys.
Find redundancy with functional dependencies and remove it step by step through first, second, third and Boyce-Codd normal form, then learn when to denormalize.
Write the schema in SQL with keys and constraints, then see how a normalized design is queried back together with joins and aggregates.
Speed up queries with the right indexes, keep data correct under concurrent use with transactions, and review a design before it goes live.
20 questions drawn from a pool of 33. Score 70% or more to pass; retakes get a fresh set of questions.
In the relational model, how does an order row connect to the customer who placed it?
Answer: C. The order row stores the customer's key value, which matches a row in the customer table
Relational tables link through matching key values: the order holds a foreign key equal to the customer's primary key, and a join uses it. Storing a list of order numbers in one cell breaks the single-value rule, and keeping both in one table brings back the redundancy problems.
Normalization is the process of organizing tables so that each fact is stored in exactly one place. It splits tables that describe several things at once, using rules called normal forms (1NF, 2NF, 3NF and BCNF). The result avoids contradictions when data is updated, lets you add facts independently and makes deletions safe.
A primary key uniquely identifies each row in its own table, such as customer_id in the customer table. A foreign key is a column in another table that refers to that primary key, such as customer_id in the orders table. Foreign keys create relationships and let the database ensure every reference points to a real row.
Most business databases aim for third normal form, which removes nearly all practical redundancy. BCNF fixes rarer cases with overlapping candidate keys and is worth applying when it does not make important rules impossible to enforce. Fourth and fifth normal forms address unusual situations that good ER modeling usually avoids.
Many designers use surrogate keys, such as auto-generated integers, for main entities because they never change and are compact. Natural keys like ISBNs or country codes still belong in the table with a UNIQUE constraint. Small, stable code tables are often keyed naturally for readability.
Yes. Modeling and normalization are the same for every relational database, and the SQL in the course uses standard syntax. Small details, such as how auto-generated ids are declared, vary by system, and the lessons point these out.
Yes. Relational databases remain the default for transactional systems such as orders, payments and bookings. Even when you use a document or key-value store, the skills of identifying entities, relationships and access patterns carry over, and knowing normalization helps you make deliberate trade-offs.
No. It is a certificate of completion showing you finished the lessons and passed the final exam. It is useful for documenting your learning, but it is not an academic or vendor certification.
Query, filter, summarize and join data with confidence
Data & AIRegression, classification, evaluation and clustering, explained with live models and code
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 & AIFrom a single neuron to transformers, with the math made visual
Data & AICookies on education.com.info
We use necessary storage to save your course progress on this device. With your permission we also use analytics and advertising cookies.