文章詳情頁
mysql 如何統(tǒng)計注冊后第一次發(fā)帖的用戶
瀏覽:99日期: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’
相關(guān)文章:
1. win10 Apache24+PHP8.0,Apache不能正常加載php.ini。2. python - (2006, ’MySQL server has gone away’)3. python - PyCharm里的一個文件不小心忽略了wx包4. http - python requests上傳文件問題5. javascript - 關(guān)于微信掃一掃的技術(shù)問題6. python - 使用eclipse運行django代碼,修改了views.py這個文件,但是瀏覽器顯示的還是原有沒修改的結(jié)果,怎么處理?7. 小白學(xué)python的問題 關(guān)于%d和%s的區(qū)別8. django - pycharm 如何配置 python3 的開發(fā)環(huán)境?9. html - Python2 BeautifulSoup 提取網(wǎng)頁中的表格數(shù)據(jù)及連接10. android - VideoView與百度Map沖突
排行榜

熱門標(biāo)簽