By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
12 rows affected
| uid | gid | sourceid | name |
|---|---|---|---|
| 1 | 101 | 5 | group101 |
| 1 | 102 | 5 | group102 |
| 1 | 103 | 5 | group103 |
| 1 | 110 | 8 | group110 |
| 1 | 120 | 8 | group120 |
| 2 | 102 | 5 | group102 |
| 2 | 120 | 8 | group120 |