【发布时间】:2022-12-04 12:41:30
【问题描述】:
I have a table :
| id | value |
|---|---|
| 1 | A |
| 1 | B |
| 1 | C |
| 2 | A |
| 2 | B |
| 3 | A |
my goal is to have the table where I have only IDs that have A,B,C present per id,
in this case it is:
| id |
|---|
| 1 |
how to construct the SQL query for that ?
标签: sql
I have a table :
| id | value |
|---|---|
| 1 | A |
| 1 | B |
| 1 | C |
| 2 | A |
| 2 | B |
| 3 | A |
my goal is to have the table where I have only IDs that have A,B,C present per id,
in this case it is:
| id |
|---|
| 1 |
how to construct the SQL query for that ?
标签: sql