mysql嵌套查询

select * from(select t.`name` `name`,count(*) count from company t group by t.`name`) aa where aa.count>1;

posted @ 2014-04-10 17:47  Annie118  阅读(122)  评论(0编辑  收藏  举报