Query To Get Parent Child Relationship In Mysql