SELECT device_id,gender,age FROM user_profile WHERE age BETWEEN 20 and 23; //注意:BETWEEN 20 and 23 是闭区间[20,23]。