skip to Main Content

Select ordered rows up to certain id – Postgresql

INSERT INTO "public"."catalog_element" ("id", "catalogue_id", "element_id", "weight") VALUES (1,100,1,0), (2,100,2,1), (3,100,3,2), (4,10,1,0), (5,10,5,0), (6,10,6,1), (7,100,7,1); Let say, we have a Postgres table of catalog *- to -* element matching rows that are weighted, like such id catalogue_id element_id weight 1…

VIEW QUESTION
Back To Top
Search