Learn SQL: The Hands-on Guide with interactive exercises

Master SQL by solving real-world problems. Learn JOINs, subselects, GROUP BYs and more. From Beginner to Pro in no time!

  • 0.0 (0 Reviews)
  • 0 Students
  • 373 Lessons
  • Jannis Seemann

Course Overview

Unlock your potential by unlocking the power of SQL.

Imagine accelerating your career growth by mastering SQL swiftly - and enjoying every step of the journey. Welcome to "Learn SQL: The Hands-on Guide", a comprehensive course designed to turn you into a seasoned professional in record time.

Why enroll in this course?

Our immersive, interactive learning approach includes over 80 hands-on exercises that make learning both effective and enjoyable. You'll immediately apply what you learn through more than 100 quiz questions and two full-length practice exams, reinforcing your knowledge and building your confidence.

You'll be guided by an experienced instructor who has successfully taught over 300,000 students on Udemy. With real-world insights and best practices drawn from extensive industry experience, you'll gain practical skills that employers value.

Comprehensive curriculum:

  • Foundational SQL topics: Start by building your understanding with basic queries and database navigation.

  • Efficient data manipulation: Learn changing data and advanced filtering techniques for effective data management.

  • Data modeling: Create your own tables and learn how to properly structure data in an SQL database.

  • Advanced SQL queries: Mastering complex SQL concepts like subselects, JOINs, and GROUP BY clauses.

  • Performance optimization: Optimize your SQL database with indexes and enforce data rules using constraints and foreign keys.

  • SQL Database administration: Advance to features like managing permissions, stored procedures, and triggers to automate tasks.

  • Full-stack development: Connect databases with programming in Python to PostgreSQL.

  • Multi-database proficiency: Bonus modules on MySQL, MariaDB, and SQLite make you adaptable to various SQL environments.

Accelerate your career

Equip yourself with in-demand SQL expertise sought after by top employers. Whether you're aiming for roles like Data Analyst, Database Administrator, Business Intelligence Developer, or Data Engineer, this course will prepare you. You'll enhance your problem-solving abilities with complex SQL queries and database management, making you an indispensable asset in the tech industry.

Transform your skills

This course is more than just a series of videos - it's an interactive experience designed to empower you. Engage in hands-on coding exercises that build your confidence in writing SQL queries. Immediate feedback from quizzes and practice exams ensures your learning is both engaging and effective.

By mastering SQL through this course, you'll significantly enhance your employability, opening doors to coveted roles in the tech industry. If you're already in tech, you'll become indispensable and ready for promotion.

What makes this course unique?

It's the transformation you'll undergo. You'll not only learn SQL but master it swiftly by applying your knowledge in an interactive environment. Join over 300,000 students who have advanced their careers with my courses.

Take the next step toward your future

Don't miss this opportunity to accelerate your professional growth. Enroll now and embark on your career-changing journey today.

See more

FAQ

FAQ area empty

Course curriculum

32 chương 373 bài học 19 giờ 18 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Getting started
Chương 3 Introduction to SQL querying statements
  • Querying the data (SELECT) 5:58
  • Introduction: Interactive code exercises 9:58
  • Let's explore: Interactive code exercises!
  • Your first coding exercise: SELECTing data
  • Filtering with WHERE 8:07
  • WHERE Keyword 1/2
  • WHERE Keyword 2/2
  • Multiple SQL statements and comments 3:26
  • Multiple Statements
  • Comments
  • Renaming columns with AS 2:02
  • AS Keyword
  • Aggregate functions in SQL 7:06
  • Aggregate Functions 1/2
  • Aggregate Functions 2/2
  • Getting DISTINCT entries 4:02
  • DISTINCT Keyword
  • Filtering with LIKE 6:18
  • LIKE Keyword 1/2
  • LIKE Keyword 2/2
  • The BETWEEN and IN clause 4:56
  • IN Keyword
  • BETWEEN Keyword
  • The ORDER BY clause 5:55
  • ORDER BY
  • Specifying an offset and a limit 5:32
  • Limit and Offset
  • Quotes in SQL 6:04
  • Bonus: Quotes in MySQL and MariaDB 2:24
  • Section Quiz
Chương 4 Changing data in SQL
  • Overview changing data 0:43
  • The table: students_copy
  • INSERTing data 5:19
  • INSERT Keyword 1/2
  • INSERT Keyword 2/2
  • Updating data (UPDATE) 6:34
  • UPDATE Keyword 1/2
  • Updating multiple columns at once (UPDATE) 1:08
  • UPDATE Keyword 2/2
  • Removing entries (DELETE) 2:00
  • DELETE Keyword
  • Heads-up: Autocommit
  • Section Quiz
Chương 5 Exploring more complex SQL operations
  • Overview 2:13
  • The missing value: NULL 7:53
  • NULL Value 1/2
  • NULL Value 2/2
  • NULL and aggregate functions (MIN, MAX, COUNT, ,...) 5:10
  • String functions (part 1) 5:01
  • String functions (part 2) 4:12
  • String Functions 1/3
  • String Functions 2/3
  • String Functions 3/3
  • Working with NULL (COALESCE) 2:56
  • COALESCE Function
  • Type casting with CAST 4:50
  • CAST Function
  • Important numeric functions 8:22
  • Numeric Functions 1/2
  • Numeric Functions 2/2
  • The CASE WHEN block 4:21
  • CASE WHEN Expression
  • WHERE and brackets: (...) 3:11
  • Section Quiz
Chương 6 Table Management
  • Overview 1:00
  • Creating a first table 3:19
  • Creating the businesses_contacts table
  • Changing a table (ALTER TABLE) 6:30
  • The ALTER TABLE statement
  • Text types (VARCHAR, CHAR, TEXT) 11:51
  • Text types (VARCHAR, CHAR, TEXT)
  • Numeric types (SMALLINT, INT, BIGINT) 7:14
  • Numeric types (SMALLINT, INT, BIGINT)
  • Numbers with a decimal point (FLOAT, DECIMAL) 12:05
  • Numbers with a decimal point (FLOAT, DECIMAL)
  • Further businesses_contacts modifications
  • Disabling NULL for a column 5:16
  • NOT NULL Constraint
  • Boolean columns 2:42
  • BOOLEAN Data Type
  • DEFAULT values 5:48
  • DEFAULT Constraint
  • The PRIMARY KEY 7:58
  • Automatically generating a primary key 9:15
  • Automatically generating primary key
  • Working with binary data (BYTEA) 8:31
  • TRUNCATE and DROP 3:56
  • The DROP TABLE statement
  • Section Review
  • General Review
  • Managing the tables through pgAdmin4 7:00
  • Managing the tables through pgAdmin4
  • Section Quiz
Chương 7 Data Modeling
  • Overview 3:06
  • Creating the artists table 5:58
  • Creating the albums table 4:21
  • Example of a One-to-many relationship
  • Exercise: creating tracks table 3:48
  • Exercise: SQL code
  • Exercise: solution 2:51
  • One-to-One relationship 8:05
  • Example of One-to-One relationship
  • Many-to-many relationship 8:15
  • Example of a Many-to-many relationship
  • Bonus: compound primary keys 6:19
  • How to develop a good schema 11:37
  • Section Quiz
Chương 8 Subqueries
  • Introduction, first subselect 4:47
  • First Subselect
  • Correlated subquery 6:10
  • Correlated Subquery
  • Renaming table with AS 4:33
  • Renaming table with AS
  • Self-correlated subquery 5:11
  • Self-Correlated Subquery
  • Subqueries in a WHERE condition 5:37
  • Subqueries in WHERE clauses 1/2
  • Subqueries in WHERE clauses 2/2
  • Subquery with EXISTS 3:01
  • Subquery With EXISTS
  • Combining queries with UNION 9:42
  • Combining Queries With UNION
  • Section Quiz
Chương 9 JOINs
  • Overview JOINs 1:48
  • A first join (CROSS JOIN) 7:13
  • CROSS JOIN
  • INNER JOIN 5:07
  • INNER JOIN 1/2
  • INNER JOIN 2/2
  • LEFT JOIN, RIGHT JOIN, FULL JOIN 7:05
  • LEFT JOIN
  • FULL JOIN
  • Which to use (a subquery or a join) 8:02
  • Section Quiz
Chương 10 GROUP BY
  • A first GROUP BY clause 4:30
  • GROUP BY Keyword
  • More complex grouping 3:05
  • Complex GROUP BY
  • Filter after grouping (HAVING) 3:33
  • HAVING KEYWORD
  • How is a query executed 3:15
  • Section Quiz
Chương 11 Exam
  • Practice exam: Test your knowledge so far (1/2)
Chương 12 Practical Project
  • Classifying Employees for Exclusive Flight Tickets
  • Compiling Engineer Types and Project Overview
  • Strategic Pairings and Non-Development Staff Overview
  • Updating and Reverting Project Data 1/2
  • Updating and Reverting Project Data 2/2
  • Forming Elite Dev Teams
  • Creating and Managing App Feature Specifications Table 1/2
  • Creating and Managing App Feature Specifications Table 2/2
  • Rewarding Employee Loyalty with Prize Money
  • Managing Ongoing Projects and Contact Information for Clients
Chương 13 Views
  • Overview VIEWs 1:48
  • Creating a first VIEW 5:47
  • CREATE VIEW Clause 1/2
  • Common use cases for VIEWs 7:20
  • CREATE VIEW Clause 2/2
  • Materialized views 7:44
  • Materialized Views
  • Updatable VIEWs 3:39
  • Section Quiz
Chương 14 Transactions
  • Overview (transactions) 2:54
  • Create a first transaction 10:16
  • First Transaction
  • Accessing data within a transaction 2:24
  • SAVEPOINT in a transaction 3:03
  • SAVEPOINT Keyword
  • How transactions work, performance implications 5:17
  • The ACID properties 3:57
  • Transaction controls from pgAdmin 4 2:53
  • Section Quiz
Chương 15 Indexes
  • Overview Indexes 3:15
  • Data Download
  • Importing and exploring the data 6:37
  • EXPLAINing the query 8:25
  • EXPLAINing the query
  • How to measure execution performance 12:52
  • How does an index improve performance 8:14
  • Creating an index (CREATE INDEX) 10:11
  • Creating an index (CREATE INDEX)
  • Investigating index problems 10:52
  • Creating a UNIQUE index 6:51
  • Chapter Quiz
Chương 16 Constraints
  • Overview 4:39
  • Data Download
  • Creating a UNIQUE constraint 11:18
  • Creating a UNIQUE constraint
  • Unique constraint vs index 5:42
  • Heads-up (STRPOS) 4:21
  • Creating a custom constraint (CHECK) 9:20
  • Creating a custom constraint (CHECK)
  • Foreign key constraints 12:11
  • Foreign key constraints
  • Changing the behavior (ON UPDATE, ON DELETE) 17:25
  • Section Quiz
Chương 17 Dates
  • Overview 1:40
  • TIME, DATE, TIMESTAMP 3:11
  • TIME, DATE, TIMESTAMP
  • Creating the data 3:51
  • Data Download
  • Extracting data from timestamps 6:24
  • Extracting data from timestamps
  • Calculating INTERVALs 9:52
  • Calculating INTERVALs
  • Timezones 14:08
  • Keeping track of creation time of an entry 3:42
  • Section Quiz
Chương 18 Practical Exercises with Dates, Times, Timestamps
  • Data for the exercises: dates_exercises.sql
  • Coding Exercise: TIME, DATE, TIMESTAMP 1/2
  • Coding Exercise Solution: TIME, DATE, TIMESTAMP 1/2
  • Coding Exercise: TIME, DATE, TIMESTAMP 2/2
  • Coding Exercise Solution: TIME, DATE, TIMESTAMP 2/2
  • Coding Exercise: Extracting data from timestamps 1/2
  • Coding Exercise Solution: Extracting data from timestamps 1/2
  • Coding Exercise: Extracting data from timestamps 2/2
  • Coding Exercise Solution: Extracting data from timestamps 2/2
  • Coding Exercise: Calculating INTERVALs
  • Coding Exercise Solution: Calculating INTERVALs
  • Coding Exercise: Timezones
  • Coding Exercise Solution: Timezones
Chương 19 Migration: Practical Exercise
  • Overview 2:57
  • How to perform a migration 11:24
  • Exercise refactoring data 5:13
  • Sample solution (part 1) 7:03
  • Sample solution (part 2) 5:09
Chương 20 Arrays
  • Overview Arrays 6:32
  • Creating a first array 3:58
  • Data for the exercises: arrays_exercises.sql
  • Coding Exercise: Creating a first array
  • Coding Exercise Solution: Creating a first array
  • How to access an array 4:30
  • How to access an array
  • Coding Exercise: How to access an array
  • Coding Exercise Solution: How to access an array
  • The ANY and ALL functions 4:50
  • The ANY and ALL functions
  • Coding Exercise: The ANY and ALL functions 1/2
  • Coding Exercise Solution: The ANY and ALL functions 1/2
  • Coding Exercise: The ANY and ALL functions 2/2
  • Coding Exercise Solution: The ANY and ALL functions 2/2
  • The UNNEST function in PostgreSQL 6:29
  • Coding Exercise: The UNNEST function in PostgreSQL
  • Coding Exercise Solution: The UNNEST function in PostgreSQL
  • Bonus, optimized search with an index 12:30
  • Coding Exercise: Bonus, optimized search with an index
  • Coding Exercise Solution: Bonus, optimized search with an index
  • Modifying an array 4:09
  • Modifying an array
  • Coding Exercise: Modifying an array 1/2
  • Coding Exercise Solution: Modifying an array 1/2
  • Coding Exercise: Modifying an array 2/2
  • Coding Exercise Solution: Modifying an array 2/2
  • When to use an array (best practices) 7:58
  • Section Quiz
Chương 21 Complex Statistical Queries
  • Overview 3:48
  • Data Download
  • Importing and exploring the data 3:53
  • GROUPING SETS and GROUPING 11:12
  • GROUPING SETS and GROUPING
  • The ROLLUP function 3:21
  • ROLLUP Function
  • The CUBE function 2:20
  • OVER and PARTITION BY 10:04
  • OVER and PARTITION BY clauses
  • GROUP BY vs OVER 1:34
  • The ROW_NUMBER function 5:15
  • ROW_NUMBER Function
  • The LAG and LEAD functions 8:54
  • The STRING_AGG and ARRAY_AGG functions 5:58
  • Common Table Expressions (CTEs) 5:23
  • Temporary tables 7:03
  • Temporary tables - SQL code
  • When to use what 4:00
  • Section Quiz
Chương 22 Collations
  • Overview 4:19
  • Data Download
  • Using a different collation 10:31
  • Using a different collation
  • Changing the collation of a column 4:20
  • Collations and Indexes 4:39
  • Language-specific collations 4:57
  • Section Quiz
Chương 23 Permissions
  • Overview 8:11
  • Data Download
  • Creating a user, logging in as a user 7:26
  • Creating a user, logging in as a user
  • Granting permissions to roles 7:27
  • Revoking permissions from roles 2:00
  • Managing permissions through pgAdmin 4 5:58
  • Using a VIEW with permissions 7:37
  • Section Quiz
Chương 24 Stored Procedures
  • Overview 1:31
  • Creating a stored procedure 5:08
  • Creating a stored procedure
  • What does the $$ mean 5:09
  • Managing permissions on stored procedures - 1 6:56
  • Managing permissions on stored procedures - 2 3:31
  • Section Quiz
Chương 25 Triggers
  • Overview 2:34
  • Writing a PL/pgSQL script 7:15
  • Variables in PL/pgSQL 4:28
  • Variables in PL/pgSQL
  • Loops in PL/pgSQL 2:59
  • Conditionals in PL/pgSQL 3:08
  • Conditionals in PL/pgSQL
  • Creating a trigger (SQL code)
  • Creating a trigger 10:40
  • Creating a trigger
  • Refreshing data with a trigger (SQL code)
  • Refreshing data with a trigger 19:45
  • Intercepting an SQL command with a trigger (SQL code)
  • Intercepting an SQL command with a trigger 10:37
  • Triggers and permissions 5:28
  • Triggers and the SQL standard 2:53
  • Section Quiz
Chương 26 Additional Topics
  • Exporting data with PostgreSQL 14:44
  • Full-text search in PostgreSQL 16:52
  • Full-text search in PostgreSQL
  • Speeding up a full-text search 5:33
  • Best practices - 1 8:39
  • Best practices - 1
  • Best practices - 2 4:37
  • Best practices - 3 6:10
  • Section Quiz
Chương 27 Practical Project 2
  • Consolidating U.S. Client Connections for Market Expansion
  • Optimizing Candidate Management 1/2
  • Optimizing Candidate Management 2/2
  • Fixing Syntax of Unorthodox Transaction
  • Fixing Interview Scheduling Issues
  • Critical Financial and Resource Analysis 1/2
  • Critical Financial and Resource Analysis 2/2
  • Finalizing Revenue Report for US Branch
Chương 28 Exam
  • Practice exam: Test your knowledge (2/2)
Chương 29 PostgreSQL with Python
  • Overview 3:00
  • The files for this chapter
  • Installing Python and VS Code 6:53
  • Connecting to PostgreSQL 12:43
  • Inserting data in PostgreSQL 7:45
  • Passing parameters through dictionaries 3:17
  • Preventing SQL injections 15:09
  • Preventing SQL injections
  • Bonus: Object Relational Mappers (ORMs) 14:07
Chương 30 MySQL Overview: Similarities and Differences with PostgreSQL
  • Overview 4:19
  • Data Download
  • MySQL installation 6:58
  • Using MySQL Workbench 4:48
  • Differences between PostgreSQL and MySQL - 1 7:05
  • Similarities between PostgreSQL and MySQL 3:35
  • Differences between PostgreSQL and MySQL - 2 3:52
  • Data types in MySQL 12:57
  • The utf8_general_ci collation 6:15
  • Section Quiz
Chương 31 SQLite Overview: Similarities and Differences with PostgreSQL
  • Overview 5:48
  • Installing DB Browser 5:38
  • Differences between PostgreSQL and SQLite - 1 6:10
  • Differences between PostgreSQL and SQLite - 2 6:39
  • Data types in SQLite - 1 5:57
  • Data types in SQLite - 2 7:50
  • Section Quiz
Chương 32 Closing Words
  • Closing Words 3:00

Requirment

  • No previous programming experience required

Outcomes

  • Master SQL Quickly: Grasp SQL efficiently with 80+ real-world exercises

  • Learn everything you need, in a single course: From Beginner to Pro

  • Apply Skills Practically: Work on real-world projects to solidify your knowledge

  • Boost Your Career: Gain in-demand SQL skills to enhance job prospects

  • Impress in SQL job interviews: Practical exercises provide valuable hands-on experience

  • Prepare for Senior Roles: Master advanced topics like indexing, constraints, and permissions

  • Stay motivated: Interactive quizzes, exercises, and practical exams turn this course into something fun

  • Prepare for High-Demand Roles: Data Analyst, Database Administrator, Business Intelligence Developer, and Data Engineer

Instructor

...
Jannis Seemann

0.0

  • ... 0 Student
  • ... 3 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all