Posted by Barkster on 04/10/06 17:13
Figured it out, was close to what you mentioned Select Category.CategoryID, Category.Category, Category.Sorting, Count(Listings.CategoryID) as cnt From Category LEFT JOIN Listings on(Listings.CategoryID=Category.CategoryID) Group By Category.CategoryID Order By Category.Sorting Asc
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming