mysql - How to Get all childrens Count in binary tree in php -


i have h type table

enter image description here

now want full binary tree , full left , right chides count

select  leg , count(user_id)as count table group leg 

this show count of left , right


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -