How can I group all children by their parent ? 

id email parent_id
1 [email protected] nil
2 [email protected] 1
3 email 1
4 email 2
5 email nil
6 email 3
 
Regards,
Arup Rakshit

Reply via email to