select uid from risk_user_detail r
where type = 2 GROUP BY uid,biz_id HAVING count(1)>=3 ORDER BY time desc
mysql where,group by,having,order by 编写顺序
最新推荐文章于 2023-07-24 23:24:52 发布
select uid from risk_user_detail r
where type = 2 GROUP BY uid,biz_id HAVING count(1)>=3 ORDER BY time desc