i give the attachement given below .i want an additional column named as parentname.whoose parentid is greater than 0 will take the name of corresponding id field.
suppose if parrentid is 1 than it will take the id whoose id is 1 and their corresponding name is shown as their parentname for whose parent id is 1.

Nilesh SawardekarRank #648 · 3.7K reputationPosted Jul 26, 2016, 8:53 AM EDT
sourabh choubey173 reputationPosted Jul 26, 2016, 9:24 AM EDT
Arun Kumar26 reputationPosted Jul 26, 2016, 10:37 AM EDT
sourabh choubey173 reputationPosted Jul 26, 2016, 11:11 AM EDT
Arun Kumar26 reputationPosted Jul 26, 2016, 7:17 PM EDT