SELECT row : row 1 as row, t.id FROM sgcorp_product t, (SELECT row : 0) r where t.id not in(select product_id from sgcorp_pic) http://database.51cto.com/art/201011/235142.htm http://blog.csdn.net/macwhirr123/article/details/7489484转载于:https://www.cnb…