ソースコード
update total_scores
set total_score
from (
    select student_code, sum(score) from scores
    group by student_code
) as scores
where total_scores.student_code = scores.student_code
提出情報
提出日時2025/01/29 14:23:42
コンテストSQLの教科書確認用コンテスト3
問題副問合せの結果と結合
受験者sn
状態 (詳細)RE
(Runtime Error: 実行時エラー)
メモリ使用量96 MB
メッセージ
SQLITE_ERROR: near "from": syntax error
テストケース(通過数/総数)
0/2
状態
メモリ使用量
データパターン1
RE
87 MB
データパターン2
RE
96 MB