mysql 三表联查 查询某一字段每月的总量数据 SELECT a.user_id, COUNT(1) AS countNumber, DATE_FORMAT(a.created_at, '%Y-%m') AS dateTime, c.`name` FROM