What is the Query to print out the individual total number of
duplicate row in sql.
Answer Posted / ashish bakal
select count(deptno), deptno from emp where rowid not in
(select min(rowid) from emp group by deptno) group by
deptno;
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
what are myisam tables? : Sql dba
What is Difference Between Unique and Primary Key Constraints?
Difference between table function and pipelined function?
When is the explicit cursor used ?
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
What is a boolean in sql?
What is sql procedures and functions?
Can we use threading in pl/sql?
what is bcp? When is it used?
What is the life of an sql statement?
What is an ndf file?
What are the various levels of constraints?
What is the use of pl/sql table?
How to check if a column is nullable before setting to nullable?
how many groups of data types? : Sql dba