未分類

SQL 找出重覆資料

SELECT v_name, COUNT( v_name ) FROM t_voteuser GROUP BY v_name HAVING COUNT( v_name ) > 1