select * from productstockquantity t where (select count(1) from productstockquantity where t.CombinationId = CombinationId AND t.StoreFrontId = StoreFrontId)>1 ORDER BY t.CombinationI
select * from productstockquantity t where (select count(1) from productstockquantity where t.CombinationId = CombinationId AND t.StoreFrontId = StoreFrontId)>1 ORDER BY t.CombinationI
原文:http://www.cnblogs.com/niuzaihenmang/p/8024126.html