When you alias your tables it gets more readable if you choose "better" aliases.E.g Weblog as wl, UserComments AS uc or something like that.And also I couldn't make out from your code if the column blogDate belongs to a or b ?
Now I will try to help You:SELECT TOP 5 a.BlogID, a.blogDate, COUNT(*) AS TotalRecordsFROM dbo.Weblog a JOIN dbo.UserComments bON a.BlogID = b.BlogIDWHERE a.blogID = b.BlogIDGROUP BY a.BlogID, a.blogDateORDER BY a.blogDate DESC
... or ...SELECT TOP 5 * , (SELECT COUNT(*) FROM dbo.UserComments uc2 WHERE uc2.BlogID = b.BlogID) AS TotalRecordsFROM dbo.Weblog a JOIN dbo.UserComments bON a.BlogID = b.BlogIDWHERE a.blogID = b.BlogIDORDER BY blogDate DESC
rockmoose/* Chaos is the nature of things...Order is a lesser state of chaos */