An article and comments SQL query - efficient

Posted by joe khan on Stack Overflow See other posts from Stack Overflow or by joe khan
Published on 2010-04-23T13:27:19Z Indexed on 2010/04/23 13:33 UTC
Read the original article Hit count: 200

Filed under:
|

Hi there,

What'd be the most effective and efficient sql query to grab an article and the comments?

It'd be two tables (articles, comments.) Would it be best to have it in one SQL query or two SQL querys? Speed is the main concern.

Thanks in advance

© Stack Overflow or respective owner

Related posts about php

Related posts about sql