select device_id,gender,age,university from user_profile where age is not null
不等于常用"!="
而非空使用is not null