Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
SQL Fundamentals: Learn SELECT, WHERE, ORDER BY, GROUP BY
New
Rating: 5.0 out of 5(1 rating)
87 students

SQL Fundamentals: Learn SELECT, WHERE, ORDER BY, GROUP BY

Master SELECT, WHERE, ORDER BY, GROUP BY, HAVING, and LIMIT through practical, beginner-friendly examples.
Created byMousa Al-Salahi
Last updated 7/2026
English
English [Auto],

What you'll learn

  • Write simple SELECT queries to retrieve specific columns from tables.
  • Filter data using the WHERE clause with comparison and logical operators.
  • Sort and limit query results using ORDER BY and LIMIT (or TOP).
  • Aggregate and summarize data with GROUP BY and filter groups using HAVING.

Course content

3 sections12 lectures1h 52m total length
  • مقدمة9:18

    Master writing and running SQL queries with PostgreSQL and VS Code, starting with SELECT all from customers and then choosing id, customer, and sales to see column order.

  • Aliasing8:02

    Use aliasing to clarify column names in SQL, renaming fields with as or a space. Change ID to customer ID and use double quotes for spaces, capitalization, keeping data intact.

Requirements

  • No prior SQL experience required.
  • Basic computer skills.
  • Access to a computer with internet connection.
  • Willingness to learn by doing.

Description

This course is a practical, beginner‑friendly introduction to essential SQL querying skills that every data analyst and business professional needs. You will start from the absolute basics of retrieving data with SELECT, then progressively learn how to filter, sort, and summarize information using WHERE, ORDER BY, GROUP BY, HAVING, and LIMIT. Instead of abstract theory, the lessons use a realistic sample database with tables like customers and orders, so you can immediately see how SQL answers real business questions.

Each concept is explained clearly, then demonstrated with step‑by‑step examples that build on each other. You will type and run queries yourself, observe how the results change when you add new clauses, and complete small practice tasks to reinforce your understanding. By the end of the course, you will be able to write queries that select specific columns, apply conditions to filter rows, sort results in useful ways, and aggregate data into reporting‑style summaries such as total sales per customer or number of orders per country. You will also understand the difference between row‑level filtering with WHERE and group‑level filtering with HAVING, which is critical for correct reporting.

This course is ideal for aspiring data analysts, business analysts, junior developers, university students, and self‑learners who want a solid SQL foundation before moving on to joins and more advanced topics.


Main topics you will cover

  • Basic SELECT and FROM syntax to read data from tables.

  • Choosing specific columns and avoiding SELECT *.

  • Filtering rows using WHERE with comparison operators and logical operators.

  • Sorting query results using ORDER BY (ascending and descending).

  • Limiting output with LIMIT or TOP to get “Top N” records.

  • Using aggregate functions (COUNT, SUM, AVG, MIN, MAX) for summaries.

  • Grouping data with GROUP BY to create report‑style outputs.

  • Filtering aggregated results correctly using the HAVING clause.

Who this course is for:

  • Aspiring data analysts and business analysts
  • Beginners learning SQL for the first time
  • Junior developers and IT professionals
  • University students and self‑learners in data / tech fields