Tag archive
Commands grouped around the same concept, pattern, or recurring problem.
Extend a table's structure by adding a new column with `ALTER TABLE`.
Enforce referential integrity by linking a column to the primary key of another table so orphaned rows cannot be inserted.
Modify the data type, default value, or nullability of an existing column without recreating the table.
Permanently delete a column and all its data from a table using ALTER TABLE.
Change a column's name in place without dropping or recreating the table or its data.