Sorting records for hierarchical relationships when there is more than one parent column
I have following table wherein 2 (can be more) foreign key columns define self-relationship between records of the table.
I have following table wherein 2 (can be more) foreign key columns define self-relationship between records of the table.