Greetings,
I have a table called “items” which contains about 30 basic fields. Then I have multiple related tables like “item_shipping_details”, “item_return_policy” and “item_location” which have about 10 fields each. The one thing in common with all of these tables is the item id number.
I split these up into multiple tables so MySQL wouldn’t have to search through a huge table for the basic info.
Now am trying to set up a Google Product Feed which requires little bits of information from each of the different tables. I am using PHP to generate an XML file and I would like to call just 1 query to call up the data and create an output instead of 1000s of tiny queries inside while loops.
Question: How do I do this? There must be some way to temporarily combine the tables so I can get the data I need.
Thanks