Oracle Applicatons
Pages
Home
SQL
Forms
Oracle Apps
Others
Reports
PL/SQL
OAF
Thursday, 7 April 2016
Find Duplicate Records in a SQL table
SELECT
empno
,
ename
,
COUNT
(
*
)
FROM
emp
GROUP
BY
empno
,
ename
HAVING
COUNT
(
*
)
>
1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment