By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
c_ID | c_Name | u_ID | u_Name | org_ID | upper_ID |
---|---|---|---|---|---|
58 | bar | 671 | name4 | 222 | 777 |
571 | fox | 197 | name5 | 444 | 777 |
648 | foo | 568 | name1 | 111 | 555 |
648 | foo | 743 | name2 | 333 | 111 |
648 | foo | 237 | name3 | 666 | 333 |