how will I find the duplicate rows count from employees
tablein oracle.
Answers were Sorted based on User's Feedback
Answer / 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 |
If a column is an image value type, how you can compare column values? How can you use this column in join clause?
Explain about the storage and physical database design?
What is the physical representation for a many-to-many relationship?
Explain about relational operator join?
Hi my program is accesing data from two db2 databases.what is the bind card for this program to genarate plan? how to specify the two owners and two qualifiers in bind card
Explain what a database is?
Why does this query return 0?
How can I detect whether a given connection is blocked?
What is dbms explain in brief?
You have a table with three columns: amount1, amount2, and amount3 in a single row only one of these three columns will have a value and the other two will be null. Write a sql query to retrieve the values from these columns?
What is a self join? Explain it with an example?
State the acid rules?