select * from tbsold 
where orderid in (select orderid from tbsold group by orderid having count(orderid) > 1) 
order by orderid

 posted on 2015-02-09 17:10  宝兰  阅读(205)  评论(0编辑  收藏  举报