Oracle Applicatons
Pages
Home
SQL
Forms
Oracle Apps
Others
Reports
PL/SQL
OAF
Thursday, 7 April 2016
How to Delete duplicate Records from the table in SQL
DELETE
FROM
emp
WHERE
ROWID
NOT
IN
(SELECT
MAX
(
ROWID
)
FROM
emp
GROUP
BY
empno
)
;
1 comment:
Unknown
4 May 2016 at 04:11
thnks
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
thnks
ReplyDelete