select device_id,gender,age,gpa from user_profile where university = '山东大学' union all select device_id,gender,age,gpa from user_profile where gender = 'male'; 经验:union all不去重or和union会去除两行或几行完全一样的数据,只保留满足条件的一行union all前面的子查询不能加分号 `;`