摘要: SELECT a.* FROM product_template a INNER JOIN (SELECT p_id,MAX(ID) as max_id FROM product_template where state >= 1 GROUP BY p_id DESC ) b ON a.p_id=b 阅读全文
posted @ 2017-09-18 10:24 Doyourself! 阅读(356) 评论(0) 推荐(0)