From b86fded0c3363f47417ce0bb3991dcccc1239047 Mon Sep 17 00:00:00 2001 From: keleher <keleher@cs.umd.edu> Date: Wed, 18 Sep 2019 11:23:41 -0400 Subject: [PATCH] auto --- project0/small.sql | 10 +++++----- project1/small.sql | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/project0/small.sql b/project0/small.sql index 6b7d80c..4e49d7b 100644 --- a/project0/small.sql +++ b/project0/small.sql @@ -1,8 +1,8 @@ -drop table flewon; -drop table flights; -drop table customers; -drop table airlines; -drop table airports; +drop table if exists flewon; +drop table if exists flights; +drop table if exists customers; +drop table if exists airlines; +drop table if exists airports; create table airports (airportid char(3) primary key, city char(20), name char(100), total2011 int, total2012 int); insert into airports(name, city, airportid, total2011, total2012) values('Metropolitan Oakland International','Oakland','OAK',10040864,9266570); diff --git a/project1/small.sql b/project1/small.sql index 6b7d80c..4e49d7b 100644 --- a/project1/small.sql +++ b/project1/small.sql @@ -1,8 +1,8 @@ -drop table flewon; -drop table flights; -drop table customers; -drop table airlines; -drop table airports; +drop table if exists flewon; +drop table if exists flights; +drop table if exists customers; +drop table if exists airlines; +drop table if exists airports; create table airports (airportid char(3) primary key, city char(20), name char(100), total2011 int, total2012 int); insert into airports(name, city, airportid, total2011, total2012) values('Metropolitan Oakland International','Oakland','OAK',10040864,9266570); -- GitLab