About 68,700 results
Open links in new tab
  1. Finding and deleting duplicate values in a SQL table

    Jul 28, 2019 · Also indices of duplicates should be identified. Self join is a good option but to have a faster function it is better to first find rows that have duplicates and then join with original table for …

  2. sql - How do I find duplicates across multiple columns? - Stack Overflow

    This answer identifies duplicates, while returning individual records and their unique ID's. The marked answer groups the results, meaning you cannot actually identify the duplicates by their unique ID's, …

  3. sql - How do I find duplicate values in a table in Oracle ... - Stack ...

    329 What's the simplest SQL statement that will return the duplicate values for a given column and the count of their occurrences in an Oracle database table? For example: I have a JOBS table with the …

  4. sql - Find duplicate entries in a column - Stack Overflow

    Jun 12, 2015 · I am writing this query to find duplicate CTN Records in table1. So my thinking is if the CTN_NO appears more than twice or higher , I want it shown in my SELECT * statement output on …

  5. Finding duplicate rows in SQL Server - Stack Overflow

    Jan 22, 2010 · I have a SQL Server database of organizations, and there are many duplicate rows. I want to run a select statement to grab all of these and the amount of dupes, but also return the ids …

  6. How to detect duplicate rows in a SQL Server table?

    What is the most efficient way to detect duplicates in a 10 column / 50K row table? I'm using MSSQL 8.0

  7. sql - Select statement to find duplicates on certain fields - Stack ...

    Can you help me with SQL statements to find duplicates on multiple fields? For example, in pseudo code: select count (field1,field2,field3) from table where the combination of field1, field2, fi...

  8. How to find duplicate values in SQL Server - Stack Overflow

    May 20, 2010 · Here's a handy query for finding duplicates in a table. Suppose you want to find all email addresses in a table that exist more than once:

  9. sql - How to find duplicates (correct way)? - Stack Overflow

    May 21, 2019 · I am using Snowflake database and ran this query to find total count, number of distinct records and difference: select (select count(*) from mytable) as total_count, (select count(*) fr...

  10. How can I check duplicate record in SQL Server [duplicate]

    Dec 26, 2015 · Does any one know how can I write a SQL Server script to check whether table is contain duplicate phone number? Example: I have a table called customer with following data name …