ソースコード
WITH
DELETE_ORDERS AS
(
SELECT
ORDER_NO
FROM ORDERS
WHERE
ORDER_DATE BETWEEN '2010-01-01' AND '2010-12-31'
)
DELETE
FROM ORDERS
WHERE
ORDER_NO IN (
SELECT ORDER_NO FROM DELETE_ORDERS
);

WITH
DELETE_ORDERS AS
(
SELECT
ORDER_NO
FROM ORDERS
WHERE
ORDER_DATE BETWEEN '2010-01-01' AND '2010-12-31'
)
DELETE
FROM ORDERS_DTL
WHERE
ORDER_NO IN (
SELECT ORDER_NO FROM DELETE_ORDERS
);
提出情報
提出日時2024/08/31 17:35:00
コンテスト第2回 SQLコンテスト初級編
問題データ整理
受験者syakariki1605
状態 (詳細)WA
(Wrong Answer: 誤答)
メモリ使用量94 MB
メッセージ
テストケース(通過数/総数)
0/2
状態
メモリ使用量
データパターン1
WA
94 MB
データパターン2
WA
91 MB