i am having records in SF in below format.
here col3 is parent of Col2.
My problem is that how to achive returning multiple record by input of single record in MAP.
As here D2 is child of D1 so it relates to m1 too.
final tabel needs to be
SEQUENCE DIN'T MATTER REALLY.