select cid, count(*) from(
select distinct cid, gid from thetablewhereyourddatais)
group by cid
order by cid;
|
Results 1 to 7 of 7
Thread: SQL QueryThreaded View
|
Click Here to Expand Forum to Full Width |