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

Answer Posted / manoj

select employee_id, count(*) from employees group by
employee_id having count(*) > 1

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to customize error conditions.

1699


Explain about a primary key?

566


In which table collections errors are stored.

1934


Write short notes on manual refreshes.

2279


How to read and create .LDC data files which are used by linguatic dictionary.

2052






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?

542


Explain about relational database management systems?

563


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

3424


What are the 18 schemas?

604


How to replace not in with not exist?

1454


What is dbms explain in brief?

559


Why does this query return 0?

618


What are the types of database model?

536


What is dbms and its application?

550


What is the maximum length of an extended property?

548