t1 goods_id 大于 t2 goods_id 怎么理解
DELETE t1 FROM tdb_goods AS t1 LEFT JOIN (SELECT goods_id,goods_name FROM tdb_goods GROUP BY goods_name HAVING count(goods_name) >= 2 ) AS t2 ON t1.goods_name = t2.goods_name WHERE t1.goods_id > t2.goods_id;
结果是只删了19的两行
但是我想问 t1 goods_id 跟 t2 goods_id 怎么比啊 是类似于 用ANY 或者 SOME 修饰过的那样吗 默认的?