CIS4365: Database Applications Fall, 2017 |
Cartesian ProductUnderstanding the concept:
¡@ The statement below will return every customer combined with every customer service representative: SELECT CustomerName, CSRName FROM Customer, CSRs;
Cartesian products are occasionally useful either for analysis purposes or as interim results for further manipulation. Most often, though, they're produced by accident. Forget to drag the join line in the Access query designer and bingo, you've got a Cartesian product. It's amazingly easy to do, so don't be embarrassed the first (dozen) times it happens to you. |