题解 | #查询所有列#

浙江大学用户题目回答情况

http://www.nowcoder.com/practice/55f3d94c3f4d47b69833b335867c06c1

1.select q.device_id,q.question_id,q.result from question_practice_detail q INNER JOIN (select * from user_profile where university = '浙江大学') u on q.device_id = u.device_id where u.university = '浙江大学';

2.select q.device_id,q.question_id,q.result from question_practice_detail q,(select * from user_profile where university = '浙江大学') u where q.device_id = u.device_id and u.university = '浙江大学';

3.select device_id,question_id,result from question_practice_detail where device_id = (select device_id from user_profile where university = '浙江大学')

全部评论

相关推荐

评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务