# 由于要求不去重,故使用union all关键字 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';