For me joins in SQL were one of those things that was difficult to understand, but is super important to understand. After some practice and this article, hopefully the confusion will subside.
Like the headline says there are at least 6 ways to join data in SQL. Previously I wrote about the foundational SQL skills to learn. You can read the article here.
You can also find all the code used on my GitHub.
Let’s take a look at the tables we will be using…
I recently began learning SQL not to long ago by being thrown in to the fire. I decided that it would be a good idea dive into the fundamentals to have a more solid foundation. This is the beginning of my journey.
Note: I will be using PostgreSQL 13 and pgAdmin 4 to run the code. For the most part everything can be used across databases. If I use something specific to PostgreSQL then I will make it known.
To create a database is simple with one line of SQL. Now is a good time to mention some SQL grammar…
About a week ago I decided I wanted do more with SQL than what I was using at work. I came across this a book from Packt Publishing called The Applied SQL Data Analytics Workshop that I decided to purchase. It seems to have everything that I was wanting in a tutorial.
At work we use Microsoft SQL Server and SQL Server Management Studio, which there is nothing wrong with in my honest opinion. However, this book utilizes PostgreSQL and pgAdmin4 so there is a little bit of a learning curve right in the beginning.
Turns out that…
Data Nerd | Analyst and Developer | Data Visualization