A Course You'll Actually Finish

Complete SQL Mastery

Everything you need to design and query databases in one course

  • Beginner to Pro
  • 11 Hours
  • 170 Lessons
  • Downloadable Content
  • Hands-on Exercises
  • English Captions
  • Certificate of Completion
  • Lifetime Access
  • Learn at Your Own Pace

Say goodbye to scattered tutorials and endless fluff. This course gives you a clear, structured path with bite-sized videos that blend theory and hands-on practice.

Made with đź©·

About the Course

SQL is one of those skills that opens doors—whether you want to become a software engineer or dive into data science. In this course, we’re cutting out the fluff and focusing on what really matters: mastering SQL and building a solid foundation in relational databases.

Highly Practical

What You'll Learn

  • Understand the fundamentals of relational databases and SQL
  • Master the SQL syntax and commonly used SQL commands
  • Query and retrieve data from single and multiple database tables
  • Use filtering, sorting, and aggregating techniques to manipulate data
  • Create and modify database tables, views, and indexes
  • Implement data integrity constraints and ensure data consistency
  • Perform advanced SQL operations, such as subqueries and joins
  • Write efficient and optimized SQL queries for improved performance
  • Design databases effectively, including database schema and normalization principles
  • Secure your databases

A Perfectly Structured Course

Course Content

11 Hours . 15 Sections . 170 Lessons

Getting Started(25m)

  • Introduction0m 18s
  • What is SQL
  • Installing MySQL on Mac
  • Installing MySQL on Windows
  • Creating the Databases
  • What You'll Learn
  • Follow Me Around
  • Learning Paths

Retrieving Data From a Single Table(60m)

    Retrieving Data From Multiple Tables(1h)

      Inserting, Updating, and Deleting Data(42m)

        Summarizing Data(31m)

          Writing Complex Query(39m)

            Essential MySQL Functions(32m)

              Views(19m)

                Stored Procedures(49m)

                  Triggers and Events(21m)

                    Transactions and Concurrency(44m)

                      Data Types(24m)

                        Designing Databases(2h)

                          Indexing for High Performance(53m)

                            Securing Databases(15m)

                              Target Student

                              Who Is This For?

                              • Anyone who wants to learn to design and query relational databases
                              • Computer science students who want to better understand SQL
                              • Anyone pursuing a job in back-end development, database administration or data science
                              • SQL developers who want to brush up on their SQL skills

                              A Complete Beginner-Friendly Course

                              No Prior Knowledge Needed

                              The course covers everything you need to know in detail, so don’t worry if you’re a complete novice. You don’t even need to know what a database is!

                              For those with some development and database experience, you can jump in at the relevant module that fits your current level, as the course is designed sequentially.

                              Your Instructor

                              Meet Your Instructor

                              Mosh Hamedani

                              Hi! I'm Mosh Hamedani. I’ve spent 20+ years in software engineering, and my goal isn’t just to teach you to code — it’s to help you think like a professional software engineer, master problem-solving, and build skills you’ll use for life.

                              10M+

                              Students taught

                              4M

                              YouTube fans

                              20+

                              Years of experience

                              50

                              Coding courses

                              Success Stories

                              What Our Students Are Saying

                              ExcellentStars
                              4.7out of 5 based on 3661 reviews

                              Don’t just take my word for it—hear from students who have transformed their skills and careers with this course.

                              • Muhammad Usman Ghani
                                Stars

                                I started learning from Mosh years back when I didn't even know the ABCs of programming. Now I'm a data engineer and still come to his courses every now and then. I can't thank him enough for the incredible impact his courses and exceptional teaching methods have had on my journey in programming.

                              • Luis Sanchez
                                Stars

                                I've searched for SQL trainings on YouTube, Coursera, Udemy, and Codeacademy, and none have compared to Code with Mosh. His delivery and an organized, well-designed curriculum make it easy to learn. If you spend hours jumping from one place to another searching for a class that will help you learn SQL, please consider Code with Mosh.

                              • Fastform Enterprises Vuti Redr
                                Stars

                                Mosh’s SQL course is hands down one of the best online learning experiences I've had. It’s perfect for beginners looking to build a strong foundation, or even intermediate users wanting to solidify their SQL skills. If you're looking to upskill or start a career in data analysis, database management, or development, this course is a must!

                              • Lucky
                                Stars

                                This is hands down the best SQL course somebody could come up with. Even institutes wouldn't be able to teach the way Mosh does. The topics have been categorized beautifully and explained in utmost simplicity. Since every video is of a shorter duration, it is easier to understand the particular topic in detail. Mosh definitely boosts the confidence of people who has had no first hand experience with SQL and encourages them to get into the world of SQL. The best part are the exercises at the end of every video which has been thoughtfully curated which shows the sincerity of the creator, making sure everybody who undertakes the course is on the same page as him which is also like a revision to not forget the concepts.

                              • Miss Mindy
                                Miss Mindy
                                Stars

                                Mosh is a great teacher! I've tried different courses about SQL but Mosh has his own way of teaching beginners like me.

                                There are some lessons that he intentionally make mistakes for us to better understand the lesson and compare it to the correct way of coding. I can say that he's born to be a great great teacher! Thank you so much!

                              Ready to Code Like a Pro?

                              Stop wasting time on long, bloated courses and scattered tutorials. Here, you’ll get concise, focused lessons that give you real skills without wasting your time. Enroll now and start right away.

                              Most Popular
                              $29/m
                              Access All Courses
                              • 6 months FREE JetBrain IDEs
                              • Access to 50 courses
                              • Get all future courses FREE
                              • 320 hours of video
                              • Downloadable content
                              • Practical, hands-on exercises
                              • English captions
                              • Certificate of completion
                              • Flexible learning, anytime
                              Start Learning Now

                              Join risk-free — Cancel anytime!

                              $149
                              Own this Course Forever
                              • This course only
                              • 11 hours of HD video
                              • Downloadable content
                              • Hands-on exercises
                              • English captions
                              • Certificate of completion
                              • Lifetime access
                              • Learn at your own pace
                              Buy This Course

                              30-Day Money-Back Guarantee

                              Try It, Risk-Free

                              I’m confident you’ll love this course. But if it’s not the right fit, no worries! Get a refund within 30 days — no questions asked.

                              Money-back guarantee

                              Need More Details?

                              Frequently-Asked Questions

                              • How is this course different from YouTube tutorials?

                                Crystal clear and straight to the point, each lesson is concise and packed with 20 years of software engineering experience. No rambling—just a perfectly structured path to help you really understand and build your skills.

                              • What’s the difference between buying a course and subscribing?

                                Buying the course gives you lifetime access to this specific course with a one-time payment. Subscribing, on the other hand, grants you access to this course along with the entire course library for as long as your subscription is active. Subscriptions also include new courses added in the future.

                              • How long will I have access to the course?

                                If you purchase this course, you’ll have lifetime access, allowing you to revisit lessons and resources anytime. If you subscribe, you’ll have access to this course and all others in the library as long as your subscription is active.

                              • Is there a money-back guarantee?

                                Yes, there’s a 30-day money-back guarantee. If you find the course isn’t a good fit, you can request a refund within the first 30 days.

                              Still Unsure?

                              Preview the First Hour of the Course

                              Get a free preview of the lessons to experience the clarity, structure, and real-world skills my courses offer.

                              Preview Course