LeetCode-SQL-603. 連續空餘座位

select distinct a.seat_id from cinema a join cinema b on abs(a.seat_id - b.seat_id) = 1 and a.free = true and b.free = true order by a.seat_id ;
相關文章
相關標籤/搜索