Identify by their id all the devices that are used by women who are in the age range of 29 to 31 years.
id refers to device_id; women refers to gender = 'F'; age range of 29 to 31 years refers to age between 29 and 31;
SELECT device_id FROM gender_age_train WHERE age BETWEEN 29 AND 31 AND gender = 'F'