By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 16
| ref_time | total | processed | percent |
|---|---|---|---|
| 27794170 | 3 | 3 | 100.00 |
| 27794160 | 4 | 4 | 100.00 |
| 27794150 | 2 | 2 | 100.00 |
| 27794145 | 1 | 1 | 100.00 |
| 27793450 | 3 | 2 | 66.67 |
| 27793440 | 3 | 2 | 66.67 |
SELECT 6
| ref_time | count | drop | drops |
|---|---|---|---|
| 27794170 | 3 | f | 0 |
| 27794160 | 4 | f | 0 |
| 27794150 | 2 | t | 1 |
| 27794145 | 1 | t | 2 |
SELECT 4
DELETE 3
| ref_time | total | processed | percent |
|---|---|---|---|
| 27794170 | 3 | 3 | 100.00 |
| 27794160 | 4 | 4 | 100.00 |
| 27793450 | 3 | 2 | 66.67 |
| 27793440 | 3 | 2 | 66.67 |
SELECT 4