I have a problem with a query, I have never actually made this kind of query, I've tried but I still can not get what I want, so I explain what I want to do with the following table.
I have this table, as you can see in user_ad the users repeat themselves, since they are parent users that add child users, for example, danielad I add pepe, yhonier, I fight, etc ... what I want to do is that with base the user_ad show me the number of users that is in charge of each parent user, I mean something like danielle 4, andresad 2, angiead 3, paolaad 3, in my case you can make a count like that?