By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
id | Fname | Lname | Lid | ConcatValues |
---|---|---|---|---|
1 | Jack | P | 102 | 103, 104 |
1 | Jack | P | 103 | 102, 104 |
1 | Jack | P | 104 | 102, 103 |
6 rows affected
id | Fname | Lname | Lid | ConcatValues |
---|---|---|---|---|
1 | Jack | P | 102 | 103, 104 |
1 | Jack | P | 103 | 102, 104 |
1 | Jack | P | 104 | 102, 103 |