Postgresql – Fetch N elements from table while joining other table with one-to-many relationship
I have the following data: collection: id label created_at 1 Collection of CVs #1 2023-01-01 2 Collection of business cards #1 2023-02-01 3 Collection of CVs #2 2023-03-01 model: id label type format 1 CVs cv 21x29.7 2 Business cards…