您的位置:首頁技術文章
文章詳情頁

mysql 如何統計注冊后第一次發帖的用戶

瀏覽:85日期:2022-06-18 09:51:23

問題描述

問題解答

回答1:

select count(author_id) as num from (select author_id,created from posts GROUP BY author_id HAVING count(id)=1) as t where t.created BETWEEN ’2016-09-020 00:00:00’ and ’2016-09-20 23:59:59’;

回答2:

嗯,這個問題....

難道不是按照時間排序就可以了嗎?

回答3:

select min(issue_date) md ,user_id from table group by user_id where md = ’9.20’

相關文章:
国产综合久久一区二区三区