A new column is not just an extra field. It is a structural change to your data model. You use it to store new attributes, handle derived values, or optimize queries. Done right, it makes your application more agile. Done wrong, it turns migrations into outages.
To add a new column in SQL, start with the ALTER TABLE statement. Basic syntax:
ALTER TABLE table_name
ADD COLUMN column_name data_type;
This is simple in development, but in production you must think about locks, indexes, and constraints. Adding a new column with a default value can cause a full table rewrite in some databases. That can lock writes and degrade performance. Check the documentation for your specific database engine.
In PostgreSQL, adding a nullable column without a default is instant. Adding a non-null column with a default requires extra work unless you use the DEFAULT without rewriting existing data. MySQL behaves differently; it may copy the entire table for certain operations. In large datasets, this can burn through maintenance windows fast.