I'd like to find out the internals of how JOINss performed in MySQL. To be exact, the logic, etc. How and in which order it "does" things, including caring of indexes/etc,
Thanks!
I'd like to find out the internals of how JOINss performed in MySQL. To be exact, the logic, etc. How and in which order it "does" things, including caring of indexes/etc,
Thanks!
i suggest first understand how the cartesian product works. Then, go on to understand how join works which is a special case of the cartesian product. Try this link: http://dev.mysql.com/doc/refman/5.0/en/controlling-optimizer.html