Snapmint stores multiple verification records for each ID in a table whose composite primary key is (id, type). Write a PostgreSQL query to identify IDs that have accepted records for every required type: a, b, and c.
status = 'accepted'.id ascending.| Column | Type | Description |
|---|---|---|
| idPK | BIGINT | Snapmint customer or application identifier |
| typePK | VARCHAR(20) | Verification or eligibility record type |
| status | VARCHAR(20) | Processing status of the record |
| observed_at | DATE | Date when the record was observed |