You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
302 B
19 lines
302 B
11 years ago
|
DROP TABLE IF EXISTS person;
|
||
|
|
||
|
CREATE TABLE person (
|
||
|
id INTEGER PRIMARY KEY,
|
||
|
first_name TEXT,
|
||
|
last_name TEXT,
|
||
|
age INTEGER
|
||
|
);
|
||
|
|
||
|
ALTER TABLE person RENAME TO peoples;
|
||
|
|
||
|
ALTER TABLE peoples ADD COLUMN hatred INTEGER;
|
||
|
|
||
|
ALTER TABLE peoples RENAME TO person;
|
||
|
|
||
|
.schema person
|
||
|
|
||
|
DROP TABLE person;
|