sql查詢重複數據

SELECT  codecode

FROM  A co

WHERE id IN (SELECT id FROM A GROUP BY code HAVING COUNT(code) >= 2)

相關文章
相關標籤/搜索