文章詳情頁
mysql 如何統計注冊后第一次發帖的用戶
瀏覽:86日期: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’
相關文章:
1. linux - Ubuntu下編譯Vim8(+python)無數次編譯失敗2. javascript - Ajax加載Json時,移動端頁面向左上角縮小一截兒,加載完成后才正常顯示,這該如何解決?3. mysql ER_BAD_DB_ERROR: Unknown database ’test’4. python運行后沒有任何反饋要怎么排查5. python - pyspider爬pdf爬了一小段時間后就不動了6. javascript - h5 video層級太高導致浮在div上面,如何解決?7. python中怎么對列表以區間進行統計?8. css - 請問B站頂部的模糊半透明導航條是怎么實現的呢?9. mysql - 記得以前在哪里看過一個估算時間的網站10. css - 關于offsetLeft和offsetTop
排行榜
