When a query is completed, the table is filled with all possible combinations, whether they are related or not, without a JOIN
or UNION
. However if you use a JOIN
or UNION
it only prints one of each related item (thus removing duplicates) I Believe... I could be wrong, please correct me if this is the case.
However if a selection is made from two unrelated tables, Say for example:
Car Furniture
------- ------------
Make Material
Model Style
HP
And I wanted to select the Model of the car, and the material of furniture, how would I do this without getting a list like this?
XR6 Wood
XR6 Leather
XR6 Plastic
XR6 Metal
XR8 Wood
XR8 Leather
etc.....
instead, get a list like this:
XR6 Wood
XR8 Leather
Charger Plastic
Metal