By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
id_1 | id_2 | small_id | big_id |
---|---|---|---|
1 | 2 | 1 | 2 |
Duplicate entry '1-2' for key 'ids_unique_combination_uq'
Duplicate entry '2-3' for key 'ids_unique_combination_uq'
id_1 | id_2 | small_id | big_id |
---|---|---|---|
1 | 2 | 1 | 2 |
3 | 2 | 2 | 3 |