MySQL 查询,补全日期不连续的问题?
最近用echart画折线图,用sql语句查询出来的日期不连续,sql语句如下,select DATE(created_at) AS dates,COUNT(DISTINCT user_id) AS bind_user from wts_users_oauth where user_id is not null GROUP BY DATE(created_at),怎样补全不连续的时间?求助各位大神,万能的论坛
推荐文章: