SELECT device_id,gender,age,university from user_profile WHERE age IS NOT NULL; 查询年龄不为空的数据。 SELECT device_id,gender,age,university from user_profile WHERE age IS NULL; 查询年龄为空的数据。