Database: talkingdata
Question: Identify by their id all the devices that are used by women who are in the age range of 29 to 31 years.
SQL: SELECT device_id FROM gender_age_train WHERE age BETWEEN 29 AND 31 AND gender = 'F'