mysql 多个字段重复记录查询

select 
  *
from 
  productstockquantity t
where
  (select count(1) from productstockquantity where t.CombinationId = CombinationId AND t.StoreFrontId = StoreFrontId)>1 ORDER BY t.CombinationI
posted @ 2017-12-11 17:20  那就让我这样吧  阅读(4891)  评论(1编辑  收藏  举报