By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
id | user_id | test_id | start_date | completed_date | _helper |
---|---|---|---|---|---|
1 | 1 | 2 | 1981-08-24 | null | -1 |
Duplicate entry '1-2--1' for key 'user_id'
id | user_id | test_id | start_date | completed_date | _helper |
---|---|---|---|---|---|
1 | 1 | 2 | 1981-08-24 | null | -1 |
id | user_id | test_id | start_date | completed_date | _helper |
---|---|---|---|---|---|
1 | 1 | 2 | 1981-08-24 | null | -1 |
3 | 1 | 2 | 1981-08-24 | 1981-08-24 | 1981-08-24 |
Duplicate entry '1-2-1981-08-24' for key 'user_id'
id | user_id | test_id | start_date | completed_date | _helper |
---|---|---|---|---|---|
1 | 1 | 2 | 1981-08-24 | null | -1 |
3 | 1 | 2 | 1981-08-24 | 1981-08-24 | 1981-08-24 |