Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コメディーまたはホラーのすべての映画の映画のタイトルを取得し、出力属性名を「Happily Scared」に変更します。</p>
SELECT comedy,horror FROM movie ALTER TABLE comedy,horror RENAME TO Happily Scared
SQL クエリでエラーが発生し続けます。どうしたの?
私はあなたがUPDATEあなたのテーブルに行きたいと推測するつもりです. テーブル構造が表示されない場合は、次のようなものが必要になります。
UPDATE
update movie set title = 'Happily Scared' where genre in ('comedy', 'horror')
更新構文:
UPDATE table_name SET column1=value, column2=value2,... WHERE some_column=some_value