how do you count the duplicate records in a table
Answer Posted / ajmal khan
There are many way to count the duplicate row in a table
select count(column_name)-count(distinct(column_name)) from
table_name;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain the uses of a database trigger?
how to enter binary numbers in sql statements? : Sql dba
Can we insert data into materialized view?
How do I write a cron which will run a sql query and mail the results to agroup?
How do I run pl sql in sql developer?
How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?
What is the need of merge statement?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
Is t sql a programming language?
How do I run sql profiler?
What do you mean by query optimization?
What is a primary key sql?
When is the explicit cursor used ?
What is serial sql?
Why do we use view in sql?