I have database table structure like this
i want sub referral id and total number of sub referral, Suppose my id is \'1\' and i have referred users whose id is \'7\' , \