I'm trying to learn how to do mysql joins. Twitter has helped already get me started.
I'm trying to find the number of members that have entries attached to them...
Then the number of members that have entries with a specific category_id attached to them.
What I have so far.
{exp:query sql="
SELECT count(*) AS num_members
FROM exp_members m
JOIN exp_channel_titles t on t.author = m.member_id"}
{num_members}
{/exp:query}