sqlite alter table add column
snippet in sql

how to change table name in sqlite

user6551

alter table table_name
rename to new_table_name;

sqlite alter table add column

user8928

ALTER TABLE table_name ADD COLUMN new_column_name column_type

rename table sqlite

user5928

ALTER TABLE existing_table
RENAME TO new_table;