Dropping observations w.r.t. 2 different variables

#1
Well, to be honest I do not know how to express my problem so I have uploaded an image.

http://imgur.com/JkmzVbV

I need a command for Stata to exclude families that do not have children that are younger than 18.

So, the data set should look like this after the exclusion.

http://imgur.com/GSmvB3I

Thank you for your time and consideration.
 
Last edited: