Le 2014-07-17 à 09:08, Arup Rakshit <arupraks...@rocketmail.com> a écrit :
> How can I group all children by their parent ? > > id email parent_id > 1 t...@test.com nil > 2 te...@test.com 1 > 3 email 1 > 4 email 2 > 5 email nil > 6 email 3 ORDER BY parent_id, id ? François Beausoleil -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general