Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how will I find the duplicate rows count from employees
tablein oracle.

Answer Posted / avik ganguly

select * from emp a where rowid = (select max(rowid) from
emp where empno = a.empno group by empno having count(*) >1)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an extended stored procedure be called from inside a user-defined function?

1053


What you can do to remove data from the cache and query plans from memory for testing the performance of a query repeatedly?

1013


To convert IDMS to DB2, how to deal with IDMS occurs and redefined clause?

4007


What are the constraints on severity level in raiseerror?

985


You have two tables with a one to many join based on a field named id. You need to find records in the parent table that are not represented in the child table. how would you accomplish this?

1066


How can I detect whether a given connection is blocked?

1051


How would you design a database for an online site, which would average a million hits a day?

1010


Explain about normal forms?

1054


What is a database development?

963


How to customize error conditions.

2149


Explain about relational database management systems?

965


What is normalization? Explain different levels of normalization?

63104


How long can an error message be in raiseerror function?

1000


What are the 18 schemas?

1118


Which four data types cannot be used as a return type from a user-defined function?

1022