select device_id,question_id,result from question_practice_detail where device_id in (select device_id from user_profile where university = "浙江大学")
这道题明显有多种解法。不过题目归于子查询模块下,看来也是想考察子查询的。子查询主要的用法就是 in 。记为固定句式即可。