请教一下这两条查询语句的优劣性?
SELECT t1.goods_id, t1.goods_name 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; SELECT t1.goods_id, t1.goods_name FROM tdb_goods AS t1 LEFT JOIN tdb_goods AS t2 ON t1.goods_name = t2.goods_name WHERE t1.goods_id > t2.goods_id;