T-SQL 101: 104 Using an INNER JOIN
The most common form of join between two tables is what’s called an inner join.
In the example shown above, I’ve selected some columns from different tables. I’ve got description and product ID from the product table and I’ve got the product group name from the product group. What I wanted was a list of products but I want to know what group they’re part of. So to do that I had to use the products table, but I also had to join to the product groups table so I could get the name of the product group.
2025-01-31