By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
ID | Exists |
---|---|
1 | yes |
2 | yes |
3 | yes |
4 | yes |
5 | no |
Exists in C1 | Exists in C2 | Exists in C3 | Exists in C4 |
---|---|---|---|
yes | yes | yes | no |
ID | Exists |
---|---|
1 | yes |
2 | yes |
3 | yes |
4 | yes |
5 | no |
Exists in C1 | Exists in C2 | Exists in C3 | Exists in C4 |
---|---|---|---|
yes | yes | yes | no |