I have four tables that I need to pull data from. Three of the tables have a common value (product_id) the fourth table has a value in common with the third table (category_id). So they look something like this:
Products: product_id, name, quantity, image, weight
Product_Description: product_id, Description
Product_to_Category: product_id, category_id
Category: category_id, category_name
I need to pull all of the data and combine it into a result that looks like this Name, Quantity, Image, Weight, Description, Category name
I know how to do a JOIN that works for the first three tables but I don't know how to add the into the results.