Skip to content · ⁨コンテンツへスキップ⁩
English

Changing a table's structure

A table's design is not fixed. ALTER TABLE … ADD adds a new column to an existing table:

Existing rows get NULL in the new column until you fill them in.

日本語

テーブル構造の変更

テーブルの設計は固定されていません。ALTER TABLE … ADD は既存のテーブルに新しいカラムを追加します:

ALTER TABLE product ADD weight DECIMAL(5, 2);

既存の行は、埋めるまで新しいカラムに NULL が割り当てられます。

ALTER TABLE ADD はテーブルに新しい空のカラムを与えます

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP