ソースコード
select
    t1.line_id as LINE,
    t1.seat_no as SEAT_F,
    t3.seat_no as SEAT_T
from seat_reserve t1
join seat_reserve t2
    on t2.line_id = t1.line_id and t2.seat_no = t1.seat_no + 1 and t2.rsv_status = '0'
join seat_reserve t3
    on t3.line_id = t2.line_id and t3.seat_no = t2.seat_no + 1 and t3.rsv_status = '0'
where t1.rsv_status = '0'
order by t1.line_id desc;
    
提出情報
提出日時2024/06/23 21:33:29
コンテスト第13回 SQLコンテスト
問題空席検索
受験者eniiiiii_66
状態 (詳細)WA
(Wrong Answer: 誤答)
メモリ使用量91 MB
メッセージ
テストケース(通過数/総数)
1/3
状態
メモリ使用量
データパターン1
WA
89 MB
データパターン2
AC
90 MB
データパターン3
WA
91 MB