From: Eric D. <eri...@ja...> - 2007-08-22 00:37:32
|
I'm racking my brain looking at the Mysql database, and trying to figure out how Comments are associated with stories. Like, if I did a select stories.sid,stories.stoid, count(comments.uid) nocomments from stories, comments where stories.stoid=comments.sid group by 2 order by 3; It doesn't come out right. Ideas? |