I have a query with the following sql statement:
Code:
<cfquery name="showcategories" datasource="#dsn#"> SELECT fcategories.catID, region, category, description, MAX(postdate) AS lastpost, COUNT(threadID) as postCount FROM fcategories LEFT JOIN fthreads ON fcategories.catID = fthreads.catID GROUP BY fcategories.catID, region, category, description ORDER
Leave a comment: