Write an SQL Query to
Delete Duplicate records from a table using ROWID.
Answer Posted / ankit kumar srivastava
DELETE FROM EMP_a WHERE ROWID NOT IN(
(SELECT MAX(ROWID) FROM EMP_a a GROUP BY
EMPNO,ENAME,sex,doj,sal,deptno,mgr HAVING COUNT(ROWID)
=1)
UNION
(SELECT MAX(ROWID) FROM EMP_a a GROUP BY
EMPNO,ENAME,sex,doj,sal,deptno,mgr HAVING COUNT(ROWID)>1))
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
tell me the scenarios of the independent in reports
What is a flexfield? List out its types.
Explain oracle apps architecture.
is it possible to run the interface without using oracle apps?
How to create a purchase order without a requisition?
What are do's and dont's of Interface?
Are you familiar with internet architecture of oracle apps 11i?
Tell me how to debug the report?
tell my any difficult situtation you solved in your experience in your company?
Can you define an erp system?
Explain what are the tables of auto invoice?
Do you know what is applysys in oracle application database schema, what is apps?
Hi, Anybody please send me the Oracle APPS 1i technical interview questions (Real time) as wel as sample resume also?
Do you know what are user profiles in apps. Any examples you can give?
Can you explain the difference between architecture followed in 10g & 11g?