how to eliminate duplictes in column except group and
section?

Answers were Sorted based on User's Feedback



how to eliminate duplictes in column except group and section?..

Answer / sandeep

the above answer will work ifonly one dplicate row is there,
if there are more than one duplication.
then

delete from table_name where rowid not in(select min(rowid)
from table_name group by column_name having count(*)>1)

Is This Answer Correct ?    6 Yes 0 No

how to eliminate duplictes in column except group and section?..

Answer / jagan

delete from tablename a where rowid not in(select max(rowid)
from tablename b where a.rowid=b.rowid)

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More Oracle Forms Reports Interview Questions

What is bind reference and how can it carate?

1 Answers  


I HAVE A REPORT LAYOUT LIKE THIS RUNDATE -FIELD DEPTNO-FIELD ------------------------------------------------------------ ------------------- EMPNO-----ENAME------SAL-----COMM----MGR----- ------------------------------------------------------------ ------------------ ------- ------------ -------- -------- -------- MY REQUIREMENT IS I WANT DEPTNO 10 VALUES IN ONE PAGE,DEPTNO 20 VALUES IN ONE PAGE,AND 30 IN ONE PAGE. I WANT LIKE THIS ....

4 Answers  


if u develop report do u ask for anything from u r team leader

1 Answers  


What are the default parameter that appear at run time in the parameter screen?

1 Answers  


What are the built-in routines is available in forms 4.0 to create and manipulate a parameter list?

1 Answers  






What do you understand by lov and how can it be used?

0 Answers  


Which of the above methods is the faster method?

1 Answers  


What is the difference when confine mode is on and when it is off?

1 Answers  


What use of command line parameter cmd file?

1 Answers  


How do you control the constraints in forms ?

1 Answers  


List the buil-in routine for controlling window during run-time?

1 Answers  


running a report from Form or other Report , The Parameter Form Page will be Display first . I don?t want to display the screen . What I have to do ?

1 Answers   Convergys,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)