Dear stata users

I'm currently working on the data which consists of households.
Individuals in the same household are given same household id and each of them has personal id as well.

What I would like to ask about is how can I randomly pick one child if there are more than 2 children in the same household.


Thankyou in advance.
Seonyeong Kim