By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
| store_code | certificate_id | audit_ending |
|---|---|---|
| K010 | vwv | 2023-12-10 |
| K010 | cert1 | 2023-12-12 |
| K054 | vwv | 2023-12-14 |
| K054 | cert1 | 2024-01-20 |
INSERT 0 4
| store_code | certificate_id | audit_ending |
|---|---|---|
| K010 | vwv | 2023-12-10 |
| K054 | vwv | 2023-12-14 |
SELECT 2