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  阅读(130)  评论(0)    收藏  举报