Book_angarテーブルに値 'no'を持つbook列がある場合、plane_idを挿入します。 私bookhangarテーブルは私の試したクエリがoracle sqlの開発者の更新クエリ
insert into bookhangar (plane_id) values('pla104') where book='no';
ですが、それは挿入doesnot
hangar_id | book | plane_id
-------------------------------
han103 | no | null
han104 | yes |pla102
です。
は、私は別のクエリupdate bookhangar set plane_id='PLA104' where book='no';
またdoesnot作業を試してみました。あなたの更新は、作業する必要があり
まず、あなたは、インサート 'を除いてINSERT文で' WHERE'句を使用することはできません... select..where '。そして、あなたはその更新ステートメントのためにどのようなエラーメッセージを受け取りましたか? – JSapkota
「INSERT INTO WHERE」にはどんな意味がありますか? –