How to get n records from parent table and their children

From: JORGE MALDONADO <jorgemal1960(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: How to get n records from parent table and their children
Date: 2017-11-15 19:14:01
Message-ID: CAAY=A79OUvkYogmae4+jpr+e+nEcdCUAuktZWfXXnzq_B0-zww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,

I have a parent and child tables and need to get "n" records from parent
table and all of the records in child for such "n" records in parent. What
can be a good approach?

Best regards,
Jorge Maldonado

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Lutz Horn 2017-11-15 19:51:39 Re: How to get n records from parent table and their children
Previous Message Lutz Horn 2017-11-14 20:11:57 Re: Please advice on a query