I have Following structure in my table with the data
Now From Above Data let say if I want to find all sub organization where organization Id is given..then how can find that .
here how can i make it show Reseller A,Reseller B,Advertiser A,Advertiser B,when organization Id = 10707(Main Organization)
My table name is organization_ and there is
parentorganizationId
in each row which describes the parentorganization of that particular organization.
So when I give id of main organization say 10707 then it should return me all suborganizations with that organization id..