|
Lydecker -> RE: DRW within a DRW (9/6/2002 9:45:22)
|
Okay - all working - just one problem! If there are NO comments for a certain ID then no records are returned from the Table1 table. If there are no comments for an ID then I wish the Table1 results still to be displayed, but with ' 0' in the ' CountOfComments' field instead of nothing returned. Follow? Thanks (ps my current code is: SELECT Table1.ID, Table1.picture, Table1.news, Table1.eventone, Table1.eventtwo, Table1.title, Table1.author, Count(comments.ID1) AS CountOfComments
FROM Table1 INNER JOIN comments ON Table1.ID=comments.ID1
GROUP BY Table1.ID, Table1.Title, Table1.author, Table1.eventtwo, Table1.eventone, Table1.news, Table1.picture;
|
|
|
|