摘要: Write your MySQL query statement below select b.name, a.bonus from Employee b left join Bonus a on a.empId = b.empId where a.bonus 阅读全文
posted @ 2019-02-28 21:36 JinleiZhang 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 因为只有一张表,所以需要join才能拿到更多信息 通过abs(a.seat_id b.seat_id) = 1 找到相邻的座位 通过a.free = true and b.free = true 检查是否符合要求 最后通过distinct 和 order by 顺序输出 阅读全文
posted @ 2019-02-28 21:17 JinleiZhang 阅读(273) 评论(0) 推荐(0) 编辑