Creating a new column is more than a schema tweak. It alters the shape of your data. In SQL, ALTER TABLE is the command. The syntax is clear:
ALTER TABLE table_name
ADD COLUMN column_name data_type;
Once executed, the table changes immediately. Downstream queries, APIs, and jobs must expect the new field. In relational databases like PostgreSQL or MySQL, adding a column without a default is fast. Adding one with a default on large tables can lock writes. Plan for it.
In analytics systems, a new column might be virtual—computed on read—but in transactional systems it’s stored on disk. Always check how your database engine handles nulls, constraints, and indexing. If the new column is part of a query filter, pre-index it after creation to avoid full table scans. If it holds JSON, consider validation rules to stop malformed payloads at the source.