文章詳情頁(yè)
mysql 如何統(tǒng)計(jì)注冊(cè)后第一次發(fā)帖的用戶
瀏覽:114日期: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:嗯,這個(gè)問題....
難道不是按照時(shí)間排序就可以了嗎?
回答3:select min(issue_date) md ,user_id from table group by user_id where md = ’9.20’
相關(guān)文章:
1. docker 下面創(chuàng)建的IMAGE 他們的 ID 一樣?這個(gè)是怎么回事????2. 在應(yīng)用配置文件 app.php 中找不到’route_check_cache’配置項(xiàng)3. html按鍵開關(guān)如何提交我想需要的值到數(shù)據(jù)庫(kù)4. css - width設(shè)置為100%之后列表無法居中5. ios - vue-cli開發(fā)項(xiàng)目webstrom會(huì)在stylus樣式報(bào)錯(cuò),飆紅,請(qǐng)大神幫忙6. css3 - 怎么感覺用 rem 開發(fā)的不多啊7. python - 在pyqt中做微信的機(jī)器人,要在表格中顯示微信好友的名字,卻顯示不出來,怎么解決?8. html5 - 用Egret寫的小游戲,怎么分享到微信呢?9. javascript - 一個(gè)頁(yè)面有四個(gè)圖片,翻頁(yè)的時(shí)候想固定住某個(gè)圖片然后翻頁(yè),如何實(shí)現(xiàn)呢?10. objective-c - 自定義導(dǎo)航條為類似美團(tuán)的搜索欄樣式
排行榜

熱門標(biāo)簽