
SQL for Beginners: Learn to Query Databases
Write SQL queries to filter, join and summarize data so you can answer real questions directly from a database.
$49
- Beginner
- 14 video lessons
- English
- Lifetime access
- Self-paced
Much of the world's business data lives in databases, and SQL is the language used to ask it questions. This beginner course teaches you to read and write SQL queries step by step, using a sample store database with customers, orders and products. Read more
Returns: Final sale. If you can't access the course, or content promised in the listing is missing, the seller fixes it within 5 business days or refunds you. A missed live session is rescheduled or recorded within 30 days, or its share is refunded.
Start learning
Enrolment isn't available online from this seller yet. Questions? Ask DataTrail Academy below.
Interested? Ask the seller
Send a message and DataTrail Academy will reply by email to arrange your order.
Much of the world's business data lives in databases, and SQL is the language used to ask it questions. This beginner course teaches you to read and write SQL queries step by step, using a sample store database with customers, orders and products.
Lessons are presented by a friendly AI instructor with live query demonstrations and practical exercises after every topic. You will focus on the analysis side of SQL: getting the right rows, combining tables correctly and producing summaries you can trust.
What you'll learn
- How relational databases organize data into tables and keys
- Filter, sort and calculate with SELECT, WHERE and ORDER BY
- Summarize data with GROUP BY and aggregate functions
- Combine tables with joins and avoid double counting
- Structure longer queries with subqueries and CTEs
The examples use standard SQL that works across popular databases, with notes where common systems differ. By the end you will complete a query project answering real business questions.
What you'll learn
- Explain how tables, rows, columns and keys fit together
- Write SELECT queries to retrieve exactly the columns you need
- Filter rows with WHERE, AND, OR, IN, BETWEEN and LIKE
- Sort and limit results to find top and bottom records
- Handle NULL values correctly in filters and calculations
- Summarize data with COUNT, SUM, AVG, MIN and MAX
- Group results with GROUP BY and filter groups with HAVING
- Combine tables with INNER and LEFT joins
- Recognize and prevent duplicated rows after joins
- Use CASE expressions to create categories and flags
- Organize multi-step logic with subqueries and CTEs
- Check your query results for accuracy before sharing them
5 modules · 14 lessons
Module 1Databases and Your First Queries
3 lessons- How Relational Databases WorkLearn how data is stored in related tables and how primary and foreign keys connect them.
- Setting Up and Writing SELECTSet up a free SQL environment and write simple queries that return chosen columns from a table.
- Calculated Columns and Data TypesCreate new columns with arithmetic and text functions and see how data types affect results.
Module 2Filtering and Sorting Data
3 lessons- Filtering With WHEREFilter rows using comparison operators, combined conditions and pattern matching.
- Sorting, Limiting and Working With DatesSort results, return top records and filter by date ranges for time-based questions.
- Understanding NULL ValuesSee why NULL behaves differently from zero or blank text and how to handle it in filters.
Module 3Summarizing With Aggregates
3 lessons- Aggregate FunctionsCalculate totals, averages, counts and ranges across a whole table.
- GROUP BY and HAVINGGroup results by category or month and filter grouped results to focus on what matters.
- Creating Categories With CASEUse CASE expressions to bucket values into segments such as order size bands or customer tiers.
Module 4Joining Tables
3 lessons- INNER JOIN FundamentalsJoin orders to customers and products to bring related information into one result.
- LEFT JOIN and Finding Missing DataKeep all rows from one table with LEFT JOIN and use it to find customers with no orders.
- Avoiding Double CountingLearn why joins can multiply rows and how to check and fix inflated totals.
Module 5Structuring Queries and Final Project
2 lessons- Subqueries and CTEsBreak complex questions into readable steps using subqueries and common table expressions.
- Final Project: Answer Business Questions With SQLUse the sample store database to answer a set of sales and customer questions and verify your results.
Who this course is for
- Complete beginners who want to query databases for the first time
- Spreadsheet users who need to pull data without waiting on others
- Aspiring data analysts preparing for SQL-based roles
- Marketing, operations and finance professionals who work with reports
What you need
- A computer with internet access
- Willingness to install a free database tool or use an online SQL editor
- No programming or database experience needed
- Basic familiarity with tables, such as a spreadsheet
DataTrail Academy — AI Instructor
DataTrail Academy teaches practical data analysis, business intelligence and statistics so you can turn information into insight. Lessons are presented by a friendly AI-generated instructor with step-by-step demonstrations, sample datasets and practical exercises.
Reviews
No reviews yet. Buyers can review this product from their order page after buying.