How to add/insert a row with constant values per group? – Postgresql
How can I insert a row per group member with a constant value? For example, the following table is a result of ranking hospital visits per user, from earliest to latest. name time lifetime_visit_at_hospital jack 2022-12-02 03:25:00.000 1 jack 2022-12-02…