码迷,mamicode.com
首页 > 数据库 > 详细

mysql 多个字段重复记录查询

时间:2017-12-11 18:48:06      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:ref   字段   product   ant   store   sel   order   ati   gpo   

select 
  *
from 
  productstockquantity t
where
  (select count(1) from productstockquantity where t.CombinationId = CombinationId AND t.StoreFrontId = StoreFrontId)>1 ORDER BY t.CombinationI

mysql 多个字段重复记录查询

标签:ref   字段   product   ant   store   sel   order   ati   gpo   

原文地址:http://www.cnblogs.com/niuzaihenmang/p/8024126.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!