EssentialSQL: Join Together Now, Write Complex Queries
- Descrição
- Currículo
- FAQ
- Revisões
In this Course you will Learn to:
-
Write join statements that work with MySQL, PostgreSQL, SQL Server, Oracle, and SQLite.
-
Write Inner Joins.
-
Learn to write outer joins, and know the difference between a right and left outer join.
-
Understand when and how to use a full outer join. You even be able to reproduce the result of a full outer join using other statements!
-
Learn about other types of joins such as self joins, cross joins, non-equi joins, and outer joins, and when it is appropriate to use them.
-
Use different types of joins to solve real-world query problems.
-
Understand the key differences between inner and outer joins.
-
Use non-equi joins to solve interesting problems such as calculating running totals.
-
Combine columns from two or more tables into a single result.
-
Know when to use an outer join.
Learning SQL Should Not Be Out of Your Reach
With so much information available on the Internet it’s easy to get confused. You want to continue learning SQL but don’t know where to start. SQL is deceptive, mysterious, especially if not explained well.
But it doesn’t have to be this way!
Nothing is worse than
-
Being excited to learn something new but not knowing where to start.
-
Wasting time learning the wrong features.
-
Being overwhelmed with options and not know which to use.
Imagine Having
-
Knowledge – Knowing how to quickly use joins to take your SQL to the next level.
-
Confidence – Feeling good that you’re on the right track.
-
Accomplishment – Having a sense of accomplishment that you’ve learned something most cannot.
-
Fun – Having fun learning SQL inner and outer joins!
By the time you’ve completed this course you’ll have an appreciation of joins, overcome your fear, and able to write queries combining data from multiple tables.
Now that’s cool!
-
1Welcome to the CourseVídeo Aula
Welcome to Join Together Now. Let's learn how to build queries using Inner, Outer, and Full Joins.
-
2Why You Should Learn SQL JoinsVídeo Aula
When databases are normalized the data is spread across several tables. Being able to recombine that data back into a single result is important. We can do that using database joins.
-
3What Flavor of SQL Should I Choose?Vídeo Aula
Understanding whether use MySql, Postgress, Sql Server, or Oracle is important. There are several consideration to take into account. Watch this video to get my take.
-
4How to Take the CourseVídeo Aula
-
5Tools Used and Database SetupVídeo Aula
Watch this video to learn how where to get and install MySql, PostgresSQL, and SQL Server.
-
6Introduction QuizQuestionário
-
7Introduction to Relational DatabasesVídeo Aula
Before diving into joins, it's crucial to establish a solid foundation on relational databases. In this lesson, you are introduced to relational database concepts. I'll explain to you how they organize data into tables with rows and columns, and discuss the primary keys and foreign keys that establish relationships between tables. This will help you understand why joins are necessary and how they facilitate data retrieval across related tables
-
8Making Changes to a Join QueryQuestionário
-
9Do you have any questions?Texto
-
10Inner Join BasicsVídeo Aula
An inner join matches two or more table’s columns. A common pattern is to join two tables by their primary and foreign keys. Rows from tables that fail to match aren’t included in the result.
-
11Inner Join QuizQuestionário
-
12Inner Joins Basics - ExamplesVídeo Aula
Examples using an inner join to match two or more table’s columns. A common pattern is to join two tables by their primary and foreign keys. Rows from tables that fail to match aren’t included in the result.
-
13Inner Joins - Foreign Key Gone Wrong!Questionário
-
14Inner Join - Last Order DateQuestionário
-
15Inner Join - Join Two Tables TogetherQuestionário
-
16Table AliasesVídeo Aula
After completing this lesson you'll know what a table alias is, appreciate the need to use table aliases in your joins.
-
17Multi-Table JoinsVídeo Aula
Learn to join three or more tables in your query. You going to see it isn't too much different than using one. We'll use an ERD (Entity Relationship Diagram) to help "navigate" the database.
-
18Multi-Table Joins - ExamplesVídeo Aula
Look at examples of joining many tables using SQL.
-
19Add a Join to an Existing QueryQuestionário
-
20Joining Three or More TablesQuestionário
-
21What is a Cross Join?Vídeo Aula
After completing this lecture you'll know the difference between a cross join and an inner join.
-
22Cross Join ExamplesVídeo Aula
We'll do some example SQL Cross Joins and you can learn how to create combinations of rows from two or more database tables.
-
23Cross Join QuizQuestionário
-
24Cross Join AssignmentQuestionário
-
25Joining Two or More ColumnsVídeo Aula
Learn how to use Boolean operators to join one or more columns in a join condition.
-
26Joining Two or More Columns ExamplesVídeo Aula
We'll look at using two or more join conditions in a select statement and the impact of using the incorrect Boolean operator.
-
27Joining Two ColumnsQuestionário
-
28Non-Equi JoinsVídeo Aula
Learn to use joins whose join conditions use conditional operators other than equals.
-
29Working with Non-Equi JoinsQuestionário
-
30Working with Non-Equi Joins (advanced)Questionário
-
31IntroductionVídeo Aula
Learn about outer joins and how row are matched from one table to the next using the join condition.
-
32Introduction to Outer JoinsQuestionário
-
33Find Orphan Records Using an Outer JoinQuestionário
-
34Right versus Left Outer JoinsVídeo Aula
Learn about the left and right table and the huge difference there is between a RIGHT versus as LEFT outer join!
-
35Right versus Left Outer joinsQuestionário
-
36Full Outer JoinsVídeo Aula
By the time you've watched this lesson, you'll know that an full outer join is a LEFT and RIGHT outer join in one.
-
37Full Outer Joins - ExamplesVídeo Aula
Lets look at the difference between Left and Right outer joins and learn how to convert a "left" join into a "right" join.
-
38Full Outer JoinsQuestionário
-
39Left, Right, and Full Outer Joins.Questionário
-
40What is a Self Join?Vídeo Aula
Learn about joining a table to itself and the situations where it makes sense to do this.
-
41Self Join AssignmentTexto
-
42Self Join QuizQuestionário
-
43Using an Inner Join as a Self JoinQuestionário
-
44Using a Outer Join as a Self JoinQuestionário
-
45Calculating a Running Total using Self Joins (Intermediate)Vídeo Aula
We’ll join the tables together to get combination of orders, this will allow us to then summarize the orders.