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
Post a Comment