Module 13 (Introduction to SQL - Part 2).pdf
Module 13 (Introduction to SQL - Part 2).pdf
Module 13 (Introduction to SQL - Part 2).pdf
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Non-Equi JOINsBut this will give us exactly twice as manyrecords as it should (since A B meansthe same thing as B A).Fix is <strong>to</strong> just use a strict less-than (or strictgreater-than) and it will come out right.In general, you can build more elaboratetest conditions in the ON clause, but usecare!