SQLSyntax
Add a Column
Code example
ALTER TABLE users ADD COLUMN phone TEXT;Adds a column to an existing table.
In SQL, add a column: adds a column to an existing table — ALTER TABLE users ADD COLUMN phone TEXT;
ALTER TABLE users ADD COLUMN phone TEXT;ALTER TABLE users ADD COLUMN phone TEXT;Adds a column to an existing table.
Use ALTER TABLE users ADD COLUMN phone TEXT;.
Use this pattern: ALTER TABLE users ADD COLUMN phone TEXT;
Yes. Use Copy code and adapt the example to your program.
No. The language syntax is the same across operating systems.