how do you count the duplicate records in a table
Answer Posted / akki julak
select count(empno)-count(distinct(empno)) from emp;
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is difference between db2 and sql?
what is meant by nl2br()? : Sql dba
What are aggregate functions in sql?
Who developed sql?
Why partition by is used in sql?
Explain unique key in sql.
Is left join same as join?
When sql appeared?
how to delete an existing column in a table? : Sql dba
what are the different type of sql's statements ? : Sql dba
what's the difference between a primary key and a unique key? : Sql dba
How to disable a trigger name update_salary?
Can you upgrade sql express to full sql?
how can I make a script that can be bi-language (supports english, german)? : Sql dba
How can I delete duplicate rows?