Multi Level Marketing Binary Tree Database Sql