A new column changes the shape of your data. It adds fields to store more information without rewriting the entire schema. In SQL, this starts with ALTER TABLE. For example:
ALTER TABLE users ADD COLUMN last_login TIMESTAMP;
This command is direct. It adds the last_login column to the users table. After that, you can update values, index the new column for performance, and adjust queries to use it.
When adding a new column, consider defaults. Without them, existing rows may store NULL until updated. Use DEFAULT for consistent data:
ALTER TABLE users ADD COLUMN is_active BOOLEAN DEFAULT true;
Also check constraints. A NOT NULL constraint prevents incomplete data but requires defaults to avoid errors on existing rows.