メインコンテンツへスキップ
Academind
すべてのコース

Academind Proのコース

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セクション · 218件のレクチャー
  • 合計19 時間 32 分
SQL - The Complete Developer's Guide (MySQL, PostgreSQL)

このコースについて

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.

学べること

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.

前提条件

  • No prior SQL or database knowledge is required.

  • No programming experience is required.

このコースの対象者

  • 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.

カリキュラム

始める前に、このコースの構成とペースをご確認ください。

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

始める準備はできましたか?

このコースをAcademind Proで購入するか、Academind InfiniteのAll Accessですべてのコースを利用しましょう。

ブラックフライデー: All Access 1年分が $249 $249 · までの限定価格セール価格で購入する
  • Academind Proでこのコースを購入

    $69買い切り

    税込 · 30日間返金保証

    • このコースへの無期限アクセス
    • このコースの今後のアップデートすべて
    • ダウンロード資料、コード、修了証
    SQLを購入
  • Academind InfiniteのAll Access

    $25/月

    または$249 $249 /年17%お得

    • すべてのコースを、すべての機能付きで
    • 新しいコースも随時追加
    • チューター(すべての機能)
    All Accessを始める

All Accessには、Academind Proのすべてのコースも含まれます。

Academind ProとAcademind Infinite

コースもログインもそれぞれ別の、2つのプラットフォームです。

Academind Pro

pro.academind.comにある、これまでのコースプラットフォームです。Proのサブスクリプションとご購入のコースは、引き続きProでご利用いただけます。

Academind Proにログイン

Academind Infinite

AIファーストの新しいプラットフォームです。ProメンバーはProのアカウントでログインできます。Pro All AccessにはInfiniteも含まれ、すべてのコースを受講できます。

Academind Infiniteにログイン

Proのアカウントをお持ちか、Proでコースをご購入済みですか?

Infiniteに移ったのは、Proのコースの一部だけです。お持ちのコースを選んで、Infiniteでのページを開いてください。