
Explore advanced sql in Postgres, including subqueries, common table expressions, window functions, and grouping sets, then learn schema structures, user defined functions, views, and stored procedures.
Install PostgreSQL and pgAdmin, set the port to 5432, and create a database. Restore the General Hospital SQL data from the course resources, then verify schemas and table data.
Stretch your SQL skills with sub queries by calculating average number of orders per encounter by provider or physician, and identify encounters with top ten order codes and ICU encounters.
Explore SQL problem solving with common table expressions, subqueries, and window functions to calculate physician averages, top ten most common order codes, ICU encounters, high balances, and age-based stay measures.
Full joins combine left and right joins to return all matching and nonmatching rows. Use cases include finding orders without visits, accounts without encounters, or departments without employees.
Master advanced sql joins using cross joins for physician and practice pairs, compute average blood pressure by admitting provider with vitals and encounters, and identify missing surgeries with full joins.
Explore the union operator in Postgres to combine query results, ensure matching column counts and data types, and understand when duplicates are removed versus using union all.
Practice set operations—union, intersect, and except—in sql—with a hands-on exercise. List physicians from encounters, identify primary care admitting providers, and check surgeons in surgical encounters not in physician table.
Apply a common table expression and set operations to query encounters, physicians, and patient data. Build solutions using union, intersect, and except to verify data quality and provider roles.
Explore cube operations in SQL to generate all grouping subsets with grouping sets, roll up, and group by, using real Postgres examples like state, county, and surgeon profits.
Explore how to use the Postgres information schema to inspect database structure, including tables, columns, and constraints, with practical queries across the general hospital schema.
Begin a transaction to group sql statements, then end the transaction to ensure all statements succeed or none apply, preserving data integrity under concurrency with atomicity, consistency, isolation, and durability.
Learn to update data in Postgres using the update and set commands, applying a where clause to target specific rows and update multiple columns.
Learn how views in Postgres store a select query without storing data and simplify complex queries. Restrict data access and name them with v_ or view_ prefixes.
Learn how materialized views in Postgres store query results, create and refresh them with or without data, and manage them with concurrent refresh.
Welcome to the best online course to take your SQL skills to the next level!
This course is designed to take you from basic SQL knowledge to a SQL Developer Professional. After completing this course you will have a better understanding of how tables and databases work as well as advanced capabilities in querying the information that is stored in a SQL database effectively.
SQL is a critical skill for the modern workforce and we've created an online course specifically designed to take your current SQL knowledge to an advanced level. We'll begin the course with a deep dive into understanding how to construct subqueries and common table expressions, afterwards we'll move on to discussing window functions and advanced Join operations. Then you'll learn about the power of sets, including set operations and grouping sets. We will continue by learning about larger scope topics such as schema structures, table relationships, table inheritance, and views. We'll also teach you how to create easy to call stored procedures and automatic triggers across your database. After each section we will test your skills with a set of exercise questions.
In this course, you'll learn everything you need to be an expert SQL developer, we cover the topics that other basics courses don't! In this course you'll learn about:
Subqueries
Common Table Expressions
Window Functions
Advanced Join Operations
Set Operations
Grouping Sets
Schema Structures and Table Relationships
Table Transactions
Views
Table Inheritance
Stored Procedures
Triggers
Useful Advanced Methods
and much more!
Not only does this course come with great technical learning content, but we also provide support in our Q&A Forums inside the course as well as access to our exclusive student community discord server where you can connect with other students. All of this material comes with a 30-day money back guarantee , so you can try the course completely risk free.
Enroll today and we'll see you inside the course!