查詢一張表中某兩個字段相同的數據

select * from zwfw_region t where (select count(1) from zwfw_region where uniquecoding=t.regioncode and regioncode=t.uniquecoding) and LENGTH(uniquecoding) =6
相關文章
相關標籤/搜索