|
1
2
3
4
5
6
7 |
SELECT o. *FROM hq_goods gLEFT
JOIN hq_orders o ON
o.goods_id = g.idWHERE o.user_id =73AND o.state =1AND o.id not in( select
c.order_id from
hq_comment as
c where c.user_id=73 and
c.goods_id=g.id )LIMIT 0 , 30 |
原文地址:http://www.cnblogs.com/yuwensong/p/3759267.html