tree - get members count with family detail and hof detail mysql -


persons table ----------------- id name fatherid motherid famid ---------------------  1 ras  lovely   beautiful 5      2 abc  def      ghi       5      3 xyz  abc      aay       4  family table ---------------- famid hof ( id persons) ------------------------     4 3     5 2 

output required

------------------- membercount(id famid) hof_name hof_id(id person) famid -------------------                          2 abc      2                      5                          1 xyz      3                      4 

please me correct query


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -