2008-09-30 グループの数を数える MySQL × SELECT COUNT(*) FROM hogelist GROUP BY hid; ○ SELECT COUNT(DISTINCT hid) FROM hogelist;