ソースコード
select 
test0.LINE_ID AS ILINE
,test0.SEAT_NO AS SEAT_F
,test0.SEAT_NO+2 AS SEAT_T
from SEAT_RESERVE test0



inner join SEAT_RESERVE  AS test1
on test0.SEAT_NO = test1.SEAT_NO+1
and test0.LINE_ID = test1.LINE_ID
and test1.RSV_STATUS = 0

inner join SEAT_RESERVE  AS test2
on test1.SEAT_NO = test2.SEAT_NO+1
and test1.LINE_ID = test2.LINE_ID
and test2.RSV_STATUS = 0

and test0.RSV_STATUS = 0
order by test0.LINE_ID desc,test0.SEAT_NO
提出情報
提出日時2024/06/24 11:59:22
コンテスト第13回 SQLコンテスト
問題空席検索
受験者AkaneOishi
状態 (詳細)WA
(Wrong Answer: 誤答)
メモリ使用量97 MB
メッセージ
テストケース(通過数/総数)
0/3
状態
メモリ使用量
データパターン1
WA
97 MB
データパターン2
WA
93 MB
データパターン3
WA
97 MB