How do I find duplicate records with iDBQuery?

Ask iDBQuery 'Find customers with the same email but different IDs' or 'Show invoices that look duplicated by vendor, amount and date,' and it writes the grouping SQL, scans your live data, and returns the suspected duplicate sets, each row cited so you can confidently merge or delete.

Duplicate records inflate counts, double-bill customers, and corrupt reports. iDBQuery helps you find them without writing grouping SQL: - Connect the source you suspect. - Ask 'Find customers with the same email but different IDs,' or 'Show invoices that look duplicated by vendor, amount and date.' - iDBQuery writes the SQL, scans the live data, and returns the suspected duplicate sets grouped together, each row cited.

A worked example: before merging accounts, an ops analyst asks 'Group contacts that share a phone number or a normalized company name, and show how many records are in each cluster.' iDBQuery returns the clusters ranked by size, so you tackle the worst offenders first and can drill into every member row before deciding to merge or delete.

The differentiator is that fuzzy, multi-column duplicate logic, the kind that is tedious to hand-write, becomes a sentence. Because each row is cited to its source, you act on real records, not a guess, which matters when a wrong merge is destructive. And because iDBQuery spans sources, you can find cross-system duplicates too, such as 'accounts that exist in both the CRM and the billing system but were never linked.' Save the check and re-run it after each import to keep the data clean over time.

Updated 2026-06-22