find_duplicates
Identify duplicate value groups across one or more table columns, ignoring NULLs, and return counts with a sample ROWID for groups meeting a minimum occurrence threshold.
Instructions
Find duplicate value groups in one or more columns of a table (excluding NULLs). Groups at or above minCount (default 2) come back with a COUNT and a sample ROWID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| schema | No | Schema (owner) of the table. Optional — defaults to the server's current schema; omit rather than guess. | |
| columns | Yes | Columns to compare together. | |
| minCount | No | Minimum occurrences of a group. Defaults to 2. |