By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
id | obj | bid | date |
---|---|---|---|
1 | 1 | 2 | 2021-10-05 |
2 | 2 | 5 | 2021-10-05 |
3 | 3 | 4 | 2021-10-06 |
4 | 5 | 6 | 2021-10-06 |
id | user_id |
---|---|
1 | 5 |
2 | 5 |
3 | 6 |
4 | 7 |
5 | 8 |
id | user_id |
---|---|
1 | 7 |
2 | 6 |
3 | 5 |
4 | 5 |
5 | 8 |
6 | 8 |
created | user_id | total |
---|---|---|
2021-10-05 | 5 | 2 |
2021-10-05 | 6 | 1 |
2021-10-05 | 8 | 1 |
2021-10-06 | 5 | 1 |
2021-10-06 | 6 | 1 |
2021-10-06 | 8 | 1 |