sqlite3 rename table code example
Example 1: rename table sqlite
ALTER TABLE existing_table
RENAME TO new_table;
Example 2: how to change table name in sqlite
alter table table_name
rename to new_table_name;
ALTER TABLE existing_table
RENAME TO new_table;
alter table table_name
rename to new_table_name;