Commit d0b85ccd authored by Daniel Kim's avatar Daniel Kim
Browse files

some columns in names were wrong

parent 8bcc0983
......@@ -69,16 +69,16 @@ from ImdbMovies;
-- person stuff
create table People (
personID char(9) not null,
firstName varchar(64),
lastName varchar(256),
name varchar(64),
birthName varchar(256),
height int,
bio text,
birthDetails varchar(256),
dateOfBirth datetime
);
alter table People add primary key (personID);
replace into People (personID, firstName, lastName, height, bio, birthDetails, dateOfBirth)
select personID, firstName, lastName, height, bio, birthDetails, dateOfBirth from ImdbNames;
replace into People (personID, name, birthName, height, bio, birthDetails, dateOfBirth)
select personID, name, birthName, height, bio, birthDetails, dateOfBirth from ImdbNames;
create table DeadPeople (
personID char(9) not null,
......
......@@ -36,8 +36,8 @@ update ImdbMovies set grossIncomeWorldwide = '$ 0' where grossIncomeWorldwide =
drop table if exists ImdbNames;
create table ImdbNames (
personID char(9),
firstName varchar(64),
lastName varchar(256),
name varchar(64),
birthName varchar(256),
height int,
bio text,
birthDetails varchar(256),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment