對於mysql處理數據庫表中一對多的數據統計問題

今天遇到一個問題,就是要統計一個數據庫表中的相同字段的條數的問題。數據庫 SELECT conferenceId, COUNT(*) as num FROM meet_conference_attendee  where conferenceId in (100740609,101650330,104095246) GROUP BY conferenceId ;函數 關於group byblog
相關文章
相關標籤/搜索