By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
8 rows affected
Id | Prod | Id2 | Flag |
---|---|---|---|
1 | A | 11 | 0 |
2 | A | 11 | 1 |
3 | A | 11 | 1 |
4 | B | 12 | 0 |
5 | B | 12 | 1 |
6 | A | 13 | 0 |
7 | B | 14 | 0 |
8 | D | 15 | 0 |
8 rows affected
Id | Prod | Id2 | Flag |
---|---|---|---|
1 | A | 11 | 0 |
2 | A | 11 | 1 |
3 | A | 11 | 1 |
4 | B | 12 | 0 |
5 | B | 12 | 1 |
6 | A | 13 | 0 |
7 | B | 14 | 0 |
8 | D | 15 | 0 |