Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
SQL Basics: From Zero to Your First Real Queries
New
Rating: 5.0 out of 5(3 ratings)
103 students

SQL Basics: From Zero to Your First Real Queries

Learn SQL from scratch and write real queries from your very first lesson
Created byDiana Kot
Last updated 11/2026
English

What you'll learn

  • Write your first SQL queries and read data from a database with SELECT, WHERE, ORDER BY and LIMIT
  • Filter and sort rows to answer practical questions about your data
  • Summarize data with COUNT, SUM, AVG, MIN and MAX, and group it with GROUP BY and HAVING
  • Combine data from several tables with JOINs
  • Break complex questions into simple steps with subqueries and CTEs
  • Explain how relational databases work: tables, primary keys and foreign keys

Course content

2 sections • 12 lectures • 2h 30m total length
  • Introduction0:59
  • Your First Query5:48
  • Practice exercises for Lecture 2
  • Set Up Your Practice Database and Create Your First Table9:27
  • Practice exercises for Lecture 3
  • Filtering, Only Show Me What I Want24:12
  • Practice exercises for Lecture 4
  • Organizing Results20:04
  • Practice exercises for Lecture 5
  • Summarizing Data15:44
  • Practice exercises for Lecture 6
  • Relational Databases: What, How and Why6:42

Requirements

  • No prior SQL or programming experience needed. We start from zero.
  • A computer with a web browser and an internet connection.

Description

SQL is the standard language for working with data stored in databases, and one of the most useful skills for analysts, marketers, product managers and anyone who needs answers from data. This course takes you from zero to writing your own queries with confidence, step by step, with no prior experience required.


In this course you will learn to:

  • Retrieve exactly the data you need with SELECT, WHERE, ORDER BY and LIMIT;

  • Filter with AND, OR, NOT, LIKE, IN and BETWEEN, and handle NULL values correctly;

  • Clean and label results with DISTINCT, aliases, CASE WHEN and COALESCE;

  • Summarize data with COUNT, SUM, AVG, MIN, MAX, GROUP BY and HAVING;

  • Understand how relational databases work: tables, primary keys and foreign keys;

  • Combine tables with INNER, LEFT, RIGHT and FULL joins;

  • Combine query results with UNION, INTERSECT and EXCEPT;

  • Create tables and modify data with CREATE TABLE, INSERT, UPDATE, DELETE and ALTER TABLE;

  • Write subqueries and CTEs to solve multi-step problems.


Why this course is different?

Practice comes first. Every hands-on lesson opens with a realistic task, such as listing the books a library has, finding overdue loans or identifying members who never borrowed books. You try the task, then the lesson explains the SQL behind it and why it works.


What is included?

  • 11 lessons plus a short introduction;

  • Practice exercises with answers for most lessons;

  • Five final mini-projects based on real questions about the library data;

  • A ready-to-use practice database that runs in your browser, with nothing to install.


Who this course is for?

  • Complete beginners with no coding or data experience;

  • Spreadsheet users who want to retrieve and analyze data directly with SQL;

  • Aspiring data analysts and anyone preparing to work with data;

  • Students and professionals who need a clear, practical foundation in SQL.


Enroll now and write your first query today!

Who this course is for:

  • Complete beginners who want to learn SQL from scratch
  • Professionals who need to get answers from data themselves