By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version |
|---|
| PostgreSQL 12.0 (Debian 12.0-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit |
5 rows affected
3 rows affected
| item_id | location_id |
|---|---|
| 123456 | 13-101 |
| 123457 | 13-102 |
| 123458 | 13-103 |
| item_id | location_id |
|---|---|
| 123453 | 12-099 |
| 123454 | 12-100 |
| 123456 | 12-101 |
| 123457 | 12-102 |
| 123458 | 12-103 |
3 rows affected
| item_id | location_id |
|---|---|
| 123453 | 12-099 |
| 123454 | 12-100 |
| 123456 | 13-101 |
| 123457 | 13-102 |
| 123458 | 13-103 |