Performance

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jaz

    #1

    Performance

    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


Working...