Zum Hauptinhalt springen
Academind
Alle Kurse

Academind-Pro-Kurs

SQL - The Complete Developer's Guide (MySQL, PostgreSQL)

From data definition to manipulation (CRUD, relations, JOIN): Learn SQL for MySQL, Postgresql & more from the ground up!

  • 13 Abschnitte · 218 Lektionen
  • 19 Std., 32 Min. insgesamt
SQL - The Complete Developer's Guide (MySQL, PostgreSQL)

Über diesen Kurs

You’ve probably bumped into SQL in job posts, tutorials, or at work—and it can feel like everyone assumes you already “just know” how to query a database. Maybe you can copy a query, but writing your own (or understanding why it works) still feels shaky.

This course gives you a clear, detailed path to real confidence with SQL, without requiring any prior database or programming experience. You can follow the full step-by-step route or take the quick summary path when you need the essentials fast—and you’ll see everything demonstrated in both MySQL and PostgreSQL.

By the end, you’ll be able to set up your database environment, create solid table structures, and work with data of different shapes and complexity. You’ll confidently write your own queries—from straightforward lookups to more involved requests—and you’ll know how to structure and optimize databases so they stay maintainable as they grow.

Was du lernst

You’ll practice the same SQL ideas in both MySQL and PostgreSQL, so you can move between database systems without feeling like you’re starting over.

  1. 01

    Write SQL confidently

    Use core SQL syntax to write commands from scratch instead of relying on copy/paste. You’ll understand what SQL is doing and how to express what you want the database to return.

  2. 02

    Install database setups

    Install MySQL and PostgreSQL and connect through different clients. You’ll be able to get a working environment running so you can execute queries and manage databases locally.

  3. 03

    Perform CRUD operations

    Create, read, update, and delete data using SQL in a controlled way. You’ll insert records into tables and safely change or remove data when requirements evolve.

  4. 04

    Query and filter data

    Retrieve exactly the rows you need with simple and complex queries. You’ll filter results and shape outputs so they match real questions you need to answer from your data.

  5. 05

    Design normalized tables

    Split data across multiple tables to avoid duplication and keep your database clean. You’ll create and structure tables with appropriate data types for the kind of data you store.

  6. 06

    Join and aggregate results

    Merge data from multiple tables into combined result sets and summarize it with grouping and aggregation. You’ll also use built-in functions for numbers, text, and dates to produce useful outputs.

Voraussetzungen

  • No prior SQL or database knowledge is required.

  • No programming experience is required.

Für wen dieser Kurs ist

  • SQL beginners

    You’re new to databases and want a structured way to stop guessing and start understanding. You want to build a foundation that makes future learning (and job requirements) feel approachable.

  • Web developers

    You build applications and need to incorporate a relational database without feeling blocked by query writing. You want to be able to work comfortably with SQL in MySQL or PostgreSQL depending on the project.

  • Data analysts

    You work with data (or want to) and keep running into SQL as a must-have skill. You want to pull, combine, and summarize data yourself instead of waiting on someone else to write queries.

Lehrplan

Sieh dir Aufbau und Tempo dieses Kurses an, bevor du startest.

  1. 1Getting Started8 Lektionen · 24 Min.
    1. 01Welcome To The Course!2:24 Min.
    2. 02What Is SQL?6:04 Min.
    3. 03A Closer Look At SQL & Databases6:10 Min.
    4. 04Course Content3:35 Min.
    5. 05There Are Two Ways Of Taking This Course!2:15 Min.
    6. 06How To Get The Most Out Of This Course3:05 Min.
    7. 07Course Code & Resources0:00 Min.
    8. 08The Academind Pro Referral Program0:00 Min.
  2. 2SQL Basics: Syntax & Core Features5 Lektionen · 18 Min.
    1. 01Module Introduction0:48 Min.
    2. 02Understanding The Core SQL Syntax6:36 Min.
    3. 03SQL in Action3:33 Min.
    4. 04The Core SQL Rules3:49 Min.
    5. 05Data Definition vs Data Manipulation3:32 Min.
  3. 3Course Setup: Installing MySQL & Postgresql13 Lektionen · 1 Std., 21 Min.
    1. 01Module Introduction2:42 Min.
    2. 02Installing Different Database Management Systems2:58 Min.
    3. 03What We Need To Install7:12 Min.
    4. 04You Can Skip The Next Lectures!0:00 Min.
    5. 05MySQL Setup Overview & macOS Setup10:34 Min.
    6. 06MySQL Windows Setup8:09 Min.
    7. 07Postgresql Setup Overview & macOS Setup6:14 Min.
    8. 08Postgresql Windows Setup4:31 Min.
    9. 09Starting & Stopping Servers + Uninstalling Database Systems0:00 Min.
    10. 10Connecting To Database Servers (MySQL & Postgresql) With Various Clients15:29 Min.
    11. 11Setting Up Visual Studio Code With The SQLTools Extension (Course Environment)10:43 Min.
    12. 12Configuring VS Code & Exploring SQLTools11:58 Min.
    13. 13More On VS Code & SQLTools0:00 Min.
  4. 4Data Definition: Managing Tables & Working With Data Types41 Lektionen · 3 Std., 39 Min.
    1. 01Module Introduction2:01 Min.
    2. 02Key Terms When Working With Data Definition Statements & Commands2:42 Min.
    3. 03Introducing The Course Section Example2:23 Min.
    4. 04Introducing Key Data Definition Clauses3:11 Min.
    5. 05Creating a new Database (CREATE DATABASE)9:56 Min.
    6. 06Deleting Databases & IF NOT EXISTS0:00 Min.
    7. 07The Importance Of Data Types (Value Types)5:21 Min.
    8. 08Introducing Key Text Value Types6:37 Min.
    9. 09Introducing Numeric Values, Date Types & More5:50 Min.
    10. 10An Overview Of Numeric Value Types0:00 Min.
    11. 11How Do You Store Files?3:36 Min.
    12. 12Getting Started With The CREATE TABLE Statement & Syntax5:16 Min.
    13. 13Creating a First Text Column3:49 Min.
    14. 14Creating a Numeric Value Column9:03 Min.
    15. 15Working with Enums & Finishing Table Creation7:06 Min.
    16. 16Inserting Data Into The Created Table (INSERT INTO)6:19 Min.
    17. 17Inserting & Querying More Data4:02 Min.
    18. 18Working With Fixed Point & Floating Point Numbers8:53 Min.
    19. 19Adding Boolean Value Types1:58 Min.
    20. 20Creating a new Table with Text & Timestamp Data5:10 Min.
    21. 21Inserting Data Into The New Tables7:32 Min.
    22. 22What About Time Zones?0:00 Min.
    23. 23Introducing Default Column Values3:13 Min.
    24. 24Deleting (Dropping) Tables & Inserting Data With Default Values5:21 Min.
    25. 25Updating Tables & Columns8:57 Min.
    26. 26Dealing With "No Data" (NULL) vs "0"6:27 Min.
    27. 27NULL Values, Inserting (No) Data & Default Values0:00 Min.
    28. 28Exploring the NOT NULL Constraint9:23 Min.
    29. 29Exploring the CHECK Constraint12:34 Min.
    30. 30We Need Unique Values & Identifiers!11:39 Min.
    31. 31SERIAL in MySQL vs SERIAL in Postgresql0:00 Min.
    32. 32Working With Auto Incrementing IDs & Primary Keys10:20 Min.
    33. 33Auto-IDs, Primary Keys & Inserting Data0:00 Min.
    34. 34Constraints - Summary2:45 Min.
    35. 35Understanding Text Encoding & Collation7:35 Min.
    36. 36Temporary Tables & Tables From Other Tables2:40 Min.
    37. 37Creating Generated Columns7:48 Min.
    38. 38Module Summary3:02 Min.
    39. 39Time To Practice: Problem3:59 Min.
    40. 40Time To Practice: Solution (1/2)13:48 Min.
    41. 41Time To Practice: Solution (2/2)8:55 Min.
  5. 5Data Manipulation & Querying: CRUD Operations With SQL26 Lektionen · 1 Std., 38 Min.
    1. 01Module Introduction1:21 Min.
    2. 02What Are CRUD Operations?2:33 Min.
    3. 03Inserting Data: Theory2:34 Min.
    4. 04Selecting Data: Theory1:24 Min.
    5. 05Updating Data: Theory1:37 Min.
    6. 06Deleting Data: Theory1:22 Min.
    7. 07Introducing The Section Example3:33 Min.
    8. 08Setting Up An Example Database & Table7:46 Min.
    9. 09Example: Inserting Data7:26 Min.
    10. 10Inserting More (Dummy) Data1:11 Min.
    11. 11Updating In Action5:22 Min.
    12. 12Deleting In Action2:08 Min.
    13. 13Selecting Data - The Basics4:42 Min.
    14. 14SELECT, Column Names & Data Expressions5:02 Min.
    15. 15Filtering with WHERE: Available Comparison Operators & Variations4:23 Min.
    16. 16Filtering In Action (WHERE In Action)3:39 Min.
    17. 17Combining Comparisons With AND & OR3:36 Min.
    18. 18Greater, Smaller & Ranges7:15 Min.
    19. 19Filtering Text Values4:29 Min.
    20. 20Working With Dates & Date Differences5:16 Min.
    21. 21Filtering Conditions Without Hard-Coded Values0:00 Min.
    22. 22Introducing ORDER BY & LIMIT2:09 Min.
    23. 23Ordering & Limiting Results In Action7:23 Min.
    24. 24Looking For DISTINCT Values1:41 Min.
    25. 25Subqueries & Views7:05 Min.
    26. 26Module Summary2:33 Min.
  6. 6Data Normalization & Relationships: Splitting & JOINing Data32 Lektionen · 3 Std., 15 Min.
    1. 01Module Introduction1:45 Min.
    2. 02A First Look At Related Data4:09 Min.
    3. 03Data Normalization - First Steps4:03 Min.
    4. 04Splitting Data Into Tables9:48 Min.
    5. 05Forms Of Data Normalization3:05 Min.
    6. 06Our First Section Example4:09 Min.
    7. 07Creating Tables With Relations10:23 Min.
    8. 08Inserting Related Data8:11 Min.
    9. 09Joining Data & Introducing INNER JOIN4:06 Min.
    10. 10Using INNER JOIN8:10 Min.
    11. 11Combining Multiple JOINs4:13 Min.
    12. 12Data Joining & Filtering3:48 Min.
    13. 13Introducing LEFT JOIN2:10 Min.
    14. 14Using LEFT JOIN3:57 Min.
    15. 15Combining Multiple LEFT JOINs2:40 Min.
    16. 16What About RIGHT JOIN?1:23 Min.
    17. 17Example Time & INNER JOIN vs LEFT JOIN12:10 Min.
    18. 18Introducing CROSS JOIN1:43 Min.
    19. 19UNION & Why It's Different8:51 Min.
    20. 20What's Wrong With Our Foreign Keys?5:07 Min.
    21. 21Introducing Foreign Key Constraints4:06 Min.
    22. 22Diving Deeper Into Foreign Key Constraints5:35 Min.
    23. 23Updating & Removing Foreign Key Constraints0:00 Min.
    24. 24Foreign Key Constraints In Action12:05 Min.
    25. 25Data Relationship Types: One-to-Many, Many-to-Many, One-to-ONe4:34 Min.
    26. 26A Bigger Example5:39 Min.
    27. 27Example: Adding First Tables & Relations16:56 Min.
    28. 28Example: Adding More Tables & Data11:10 Min.
    29. 29Many-to-Many Relationships & Intermediate Tables ("Linking Tables")7:18 Min.
    30. 30Querying The Example Data8:57 Min.
    31. 31Practicing JOINs With Filtering9:13 Min.
    32. 32Experimenting With Referential Integrity6:00 Min.
  7. 7More On Primary & Foreign Keys9 Lektionen · 40 Min.
    1. 01Module Introduction1:30 Min.
    2. 02Remember: Primary Keys Don't Have To Be Auto-Incrementing IDs!2:51 Min.
    3. 03Primary Keys: When To Use Which Column0:00 Min.
    4. 04Introducing Composite Primary Keys7:52 Min.
    5. 05Defining Composite Primary Keys (Composite Keys In Action)2:36 Min.
    6. 06Composite Foreign Keys4:47 Min.
    7. 07Composite Keys In Action2:51 Min.
    8. 08Self-Referencing Relationships (Self-Referential Relationships)9:24 Min.
    9. 09Self-Referencing Many To Many Relationships7:58 Min.
  8. 8Grouping & Aggregate Functions15 Lektionen · 1 Std., 47 Min.
    1. 01Module Introduction1:27 Min.
    2. 02The Module Project4:37 Min.
    3. 03What are Aggregate Functions - Theory4:23 Min.
    4. 04Understanding COUNT()10:55 Min.
    5. 05Working with MIN() & MAX() and Adding Aliases to Aggregate Functions7:38 Min.
    6. 06Using SUM(), AVG() & ROUND()6:16 Min.
    7. 07Working with Filters & Joining Tables11:34 Min.
    8. 08Theory Time - Understanding GROUP BY5:03 Min.
    9. 09Applying GROUP BY in Practice4:40 Min.
    10. 10GROUP BY & Joined Queries6:11 Min.
    11. 11Understanding WHERE vs HAVING10:00 Min.
    12. 12Applying HAVING in Practice7:29 Min.
    13. 13Working with Nested Subqueries11:00 Min.
    14. 14Introducing Window Functions8:18 Min.
    15. 15Understanding ORDER BY and RANK()7:00 Min.
  9. 9Built-in Query Functions & Operators16 Lektionen · 1 Std., 49 Min.
    1. 01Module Introduction1:56 Min.
    2. 02The Module Project3:11 Min.
    3. 03Working with Mathematical Functions & Arithmetic Operators14:28 Min.
    4. 04Understanding String Functions with SELECT6:56 Min.
    5. 05Using String Functions with INSERT8:48 Min.
    6. 06Understanding Date / Time Functions4:40 Min.
    7. 07Working with Weekdays8:07 Min.
    8. 08Calculating INTERVALS9:41 Min.
    9. 09Adding INTERVALS to Dates7:54 Min.
    10. 10Understanding LIKE & Pattern Matching9:51 Min.
    11. 11Understanding EXISTS6:18 Min.
    12. 12Working with Subquery Expressions and EXISTS3:56 Min.
    13. 13Working with Subquery Expressions and IN8:09 Min.
    14. 14Introducing Conditional Expressions7:15 Min.
    15. 15Challenge Solution4:40 Min.
    16. 16Database (SQL) vs Application Level3:20 Min.
  10. 10Database Transactions6 Lektionen · 30 Min.
    1. 01Module Introduction0:52 Min.
    2. 02Understanding Transactions2:18 Min.
    3. 03Applying Transactions & ROLLBACK9:19 Min.
    4. 04Committing Changes8:14 Min.
    5. 05Working with Savepoints4:36 Min.
    6. 06Transactions in PostgreSQL4:52 Min.
  11. 11Using Indexes11 Lektionen · 46 Min.
    1. 01Module Introduction1:15 Min.
    2. 02What Are Indexes? And Why Would You Need Them?6:39 Min.
    3. 03Don't Use Too Many Indexes!4:32 Min.
    4. 04Index Types: An Overview5:06 Min.
    5. 05Setting Up Some Example Data3:15 Min.
    6. 06EXPLAINing Queries & Query Planning5:16 Min.
    7. 07Creating & Using Single-Column Indexes5:51 Min.
    8. 08Unique Indexes2:05 Min.
    9. 09Working With Multi-Column Indexes (Composite Indexes)9:20 Min.
    10. 10Partial Indexes2:36 Min.
    11. 11More on Creating & Dropping Indexes0:00 Min.
  12. 12Summary & Practice: A Complete Example35 Lektionen · 3 Std., 25 Min.
    1. 01Module Introduction1:48 Min.
    2. 02What Is SQL?6:04 Min.
    3. 03A Closer Look At Databases In General6:10 Min.
    4. 04The Core SQL Syntax6:49 Min.
    5. 05Course Setup (For Following Along)5:05 Min.
    6. 06Analyzing The Section Example Project6:06 Min.
    7. 07Introducing "Data Normalization"3:35 Min.
    8. 08Planning Tables & Relationships10:25 Min.
    9. 09Creating A New Database4:12 Min.
    10. 10Choosing Identifier Names3:10 Min.
    11. 11Defining Columns3:43 Min.
    12. 12Exploring Important Data Types5:32 Min.
    13. 13How To Store Files & Adding More Data Types4:13 Min.
    14. 14Constraints: An Introduction5:19 Min.
    15. 15Introducing Database Functions2:36 Min.
    16. 16Understanding Primary Keys & Unique IDs6:37 Min.
    17. 17INSERTing Data8:12 Min.
    18. 18Basic Data Querying (via SELECT)2:28 Min.
    19. 19UPDATE & DELETE In Action5:57 Min.
    20. 20Filtering (WHERE) & Sorting (ORDER BY)4:36 Min.
    21. 21Adding More Tables8:23 Min.
    22. 22Relations & Foreign Keys9:10 Min.
    23. 23Understanding ON DELETE & ON UPDATE3:38 Min.
    24. 24Adding More Tables & Relationships7:14 Min.
    25. 25Many To Many Relationships & Linking (Intermediate) Tables8:47 Min.
    26. 26Inserting Related Data13:26 Min.
    27. 27Connecting Data With INNER JOIN11:17 Min.
    28. 28Combining Multiple Joins5:20 Min.
    29. 29Introducing LEFT JOIN10:32 Min.
    30. 30Joining Data & Filtering4:01 Min.
    31. 31Filtering Text With LIKE6:02 Min.
    32. 32Introducing Aggregate Functions3:56 Min.
    33. 33Grouping Aggregate Results (GROUP BY)5:42 Min.
    34. 34The HAVING Clause (vs WHERE)3:31 Min.
    35. 35Module Summary1:44 Min.
  13. 13Course Roundup1 Lektion · 1 Min.
    1. 01Congratulations + More Content0:53 Min.

Bereit loszulegen?

Kaufe diesen Kurs auf Academind Pro oder hol dir mit All Access auf Academind Infinite alle Kurse.

Black Friday: ein Jahr All Access für 249 $ 249 $ · nur bis Angebot sichern
  • Dieser Kurs auf Academind Pro

    69 $einmalig

    Inkl. MwSt. · 30 Tage Geld-zurück-Garantie

    • Lebenslanger Zugriff auf diesen Kurs
    • Alle künftigen Updates dieses Kurses
    • Downloads, Code und ein Zertifikat
    SQL kaufen
  • All Access auf Academind Infinite

    25 $im Monat

    oder 249 $ 249 $ im JahrSpare 17 %

    • Jeder Kurs, mit allen Funktionen
    • Neue Kurse, sobald sie kommen
    • Dein Tutor, mit allen Funktionen
    All Access holen

All Access enthält außerdem jeden Academind Pro-Kurs.

Academind Pro und Academind Infinite

Zwei getrennte Plattformen, jede mit eigenen Kursen und eigener Anmeldung.

Academind Pro

Unsere ursprüngliche Kursplattform auf pro.academind.com. Dein Pro-Abo und die Kurse, die du dort gekauft hast, bleiben auf Pro.

Bei Academind Pro anmelden

Academind Infinite

Unsere neue KI-first-Plattform. Pro-Mitglieder melden sich mit ihrem Pro-Konto an, und Pro All Access enthält Infinite: Jeder Kurs ist offen.

Bei Academind Infinite anmelden

Hattest du ein Pro-Konto oder einen Kurs auf Pro gekauft?

Nicht jeder Pro-Kurs ist zu Infinite umgezogen, nur diese. Wähle deinen, um ihn auf Infinite zu sehen.