mysql
2019-02-18 本文已影响0人
zhuleixiao666
mysql存储引擎
-常见Innodb,MyISAM,MEMORY
having关键字对分类后的结果再进行条件的过滤
select name,count(1) from user group by id having count(1)>1
-常见Innodb,MyISAM,MEMORY
select name,count(1) from user group by id having count(1)>1