title: How to get both request for users mysql
body: <p><a href="https://i.stack.imgur.com/hQK6K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hQK6K.png" alt="Hi Please click this link"></a></p>
  
  <p>I have attached db structured image. I want get join group requests. When someone click join group notification should got to group owner, and if group owner add some user to group then notification should go to user whom he trying to add. Please help me with this. ParentId is group owner id</p>