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
What are the three basic rules which are to be followed for the relational model of the database?
Explain about the hierarchical model of the database?
fact table and dimension table containg one to many relationship or many to one relastionship
How long can an error message be in raiseerror function?
What are the three types of database design?
Explain about xml databases?
What are the key features of dbms?
How to replace not in with not exist?
Explain about query and reporting.
State the acid rules?
Write the fastest query to find out how many rows exist in a table?
Explain about normal forms?
What are the types of database model?
Explain about post-relational databases?
Pgm A calls Pgm B and pgm B uses cursor, when pgm B is called second time, the program is abending saying the cursor is opened? Why?