题解 | #找到每个人的任务#

找到每个人的任务

http://www.nowcoder.com/practice/9dd9182d029a4f1d8c1324b63fc719c9

用left join保留所有person表信息
select p.id, p.name, t.content 
from person p
left join task t
on p.id=t.person_id
order by p.id;
全部评论

相关推荐

10-19 11:19
已编辑
哈尔滨理工大学 golang
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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