By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
CREATE FUNCTION
CREATE TRIGGER
INSERT 0 0
INSERT 0 0
INSERT 0 0
INSERT 0 0
| ping_id | the_date |
|---|---|
| 1 | 2023-02-14 |
| 2 | 2023-02-14 |
| 2 | 2023-02-15 |
| 2 | 2023-02-15 |
SELECT 4
| ping_id | the_date |
|---|---|
| 1 | 2023-02-14 |
SELECT 1