Add Part 1 DROPs

master
Nick Krichevsky 2019-08-26 23:20:34 -04:00
parent fb89cea7aa
commit a92e0ecb49
1 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,16 @@
-- Part 1; add drops so that we can keep re-running this file.
DROP TABLE Reservation;
DROP TABLE TravelAgent;
DROP TABLE Cruise;
DROP TABLE Company;
DROP TABLE Customer;
DROP SEQUENCE customerID_seq;
DROP SEQUENCE cruiseID_seq;
DROP SEQUENCE travelAgentID_seq;
DROP SEQUENCE reservationID_seq;
-- Part 2; Set up schema and insert data.
CREATE TABLE Customer(
customerID NUMBER,
firstName VARCHAR2(15),