Hi,
I have 3 tables: books, images and books_xref_imag es (with the xref
table merely matching up bookIDs and imageIDs.
Assuming I only want information on one book (and it's image) would
it be quicker to do 3 LEFT JOINs in one query....
.... or 2 distinct queries, with the first retreving the book info and the
second getting the image info?
Assume appropriate indexes on all ID columns.
Any advice appreciated!
J
I have 3 tables: books, images and books_xref_imag es (with the xref
table merely matching up bookIDs and imageIDs.
Assuming I only want information on one book (and it's image) would
it be quicker to do 3 LEFT JOINs in one query....
.... or 2 distinct queries, with the first retreving the book info and the
second getting the image info?
Assume appropriate indexes on all ID columns.
Any advice appreciated!
J