What is the Query to print out the individual total number of
duplicate row in sql.
Answer Posted / raveendran
SQL>select * from a;
A B
---- -------------------------
1 Name
ABC
BCA
fdhgjdshfj
3 Name
ABC
BCA
fdhgjdshfj
2 Name
ABC
BCA
fdhgjdshfj
4 Name
ABC
BCA
fdhgjdshfj
5 asd
A B
---- -------------------------
asd
asd
asdd
6 asd
asd
7 asd asd
8 asd asd
sql>select count(b),b from a group by b having count(b)>=1;
T(B) B
---- -------------------------
4 Name
ABC
BCA
fdhgjdshfj
1 asd
asd
1 asd
asd
asd
asdd
2 asd asd
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What do you think about pl/sql?
What is sql mysql pl sql oracle?
Why commit is not used in triggers?
what is a database transaction? : Sql dba
What is sql and also describe types of sql statements?
Can we use rowid as primary key?
Can we use threading in pl/sql?
How do you go back in sql?
What are the datatypes available in pl/sql ?
How do you declare a user-defined exception?
What is the difference among union, minus and intersect?
Explain the select statement in sql?
What company owns postgresql?
What is string join?
What is cost in sql execution plan?