Add Part 1 DROPs

This commit is contained in:
Nick Krichevsky 2019-08-26 23:20:34 -04:00
parent fb89cea7aa
commit a92e0ecb49

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),