how do you count the duplicate records in a table
Answer Posted / dev
Hi,
There are many ways to do it.
One of that is ,
select count(0) from tab1 a
where a.rowid > any (select b.rowid from tab1 b where
a.col1 =b.col1);
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
what is a trigger? : Sql dba
How many indexes can be created on a table in sql?
What is difference between ms sql and mysql?
What is group function in sql?
What is rename in sql?
Write the command to remove all players named sachin from the players table.
Does sql require a server?
What is embedded sql in db2?
What is string data type in sql?
what is the difference between char_length and length? : Sql dba
What does where 1 1 mean in sql?
How do I count duplicates in sql?
What are the various levels of constraints?
What is sql not null constraint?
What is a scalar value in sql?