HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

MySQL Tutorial for Beginners [Full Course]

15,415,679 views October 26, 2019 3:10:19

Watch on YouTube
ChannelProgramming with Mosh

In brief

This full course will teach you SQL from the ground up, covering everything from installation to advanced queries and database management. Perfect for absolute beginners, it’s structured for hands-on practice with MySQL, making it ideal for those working with data or aiming to build skills in AI, machine learning, or development.

Key steps

  1. Download and install MySQL on Mac or Windows
  2. Create databases and tables for practice
  3. Write SELECT queries with clauses like WHERE, AND, OR, and LIKE
  4. Join tables using INNER, OUTER, and self joins
  5. Insert, update, and delete rows with subqueries
  6. Use UNIONs, column attributes, and advanced operators like BETWEEN and REGEXP

Questions & answers

What operating systems does this tutorial cover for installation?

The tutorial includes steps for installing MySQL on both Mac and Windows.

Does this cover database creation from scratch?

Yes, the course starts with creating databases and tables specifically for practice.

Chapters

Description from the creator

Master SQL – an essential skill for AI, machine learning, data analysis, and more! 📚 This beginner-friendly course teaches you SQL from scratch.

🚀 Want a complete SQL deep dive?
- Check out my full course: mosh.link/sql-course
- Subscribe for more awesome content: goo.gl/6PYaGF

✋ Want more? Follow me on:
- Twitter: twitter.com/moshhamedani
- Facebook: facebook.com/programmingwithmosh/
- Instagram: instagram.com/codewithmosh.official/
- LinkedIn: linkedin.com/school/codewithmosh/

📕 Get the FREE goodies:
- SQL cheat sheet: mosh.link/sql-cheatsheet
- Scripts to create databases: bit.ly/3rvtqdO

📖 TABLE OF CONTENT
0:00:00 Introduction
0:01:02 What is SQL?
0:04:24 Cheat Sheet
0:04:50 Installing MySQL on Mac
0:09:48 Installing MySQL on Windows
0:15:08 Creating the Databases for this Course
0:23:40 The SELECT Statement
0:29:30 The SELECT Clause
0:38:18 The WHERE Clause
0:43:35 The AND, OR, and NOT Operators
0:51:38 The IN Operator
0:54:41 The BETWEEN Operator
0:56:53 The LIKE Operator
1:02:31 The REGEXP Operator
1:11:51 The IS NULL Operator
1:14:18 The ORDER BY Operator
1:21:23 The LIMIT Operator
1:24:50 Inner Joins
1:33:16 Joining Across Databases
1:36:03 Self Joins
1:40:17 Joining Multiple Tables
1:47:03 Compound Join Conditions
1:50:44 Implicit Join Syntax
1:53:04 Outer Joins
1:59:31 Outer Join Between Multiple Tables
2:05:50 Self Outer Joins
2:08:02 The USING Clause
2:13:25 Natural Joins
2:14:46 Cross Joins
2:18:01 Unions
2:26:29 Column Attributes
2:29:54 Inserting a Single Row
2:35:40 Inserting Multiple Rows
2:38:58 Inserting Hierarchical Rows
2:44:51 Creating a Copy of a Table
2:53:38 Updating a Single Row
2:57:33 Updating Multiple Rows
3:00:47 Using Subqueries in Updates
3:06:24 Deleting Rows
3:07:48 Restoring Course Databases

💡 Why Learn SQL?
- It's the standard language for working with databases.
- In-demand skill for developers, data scientists, and more.
- MySQL is popular, open-source, and easy to learn.

👉 This tutorial is perfect for you if:
- You're completely new to SQL.
- You want a practical, hands-on approach.
- You work (or want to work) with data.

#programming #coding

About this tutorial

Programming with Mosh published this 3:10:19 video tutorial on October 26, 2019. It has been watched 15,415,679 times on YouTube.

Category
Education
Duration
3:10:19
Published
October 26, 2019
Views
15,415,679
Likes
303,485

Tags

Share

This tutorial in other languages