qxandxt

导航

统计数据表中某个字段的值大于2条的数据

select id,member_id,type from visits where type = 1 group by member_id  having count(*) >2;

posted on 2019-06-29 11:33  qxandxt  阅读(563)  评论(0编辑  收藏  举报