From a92e0ecb49a5d0fc90739eaf606523108ba9679c Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Mon, 26 Aug 2019 23:20:34 -0400 Subject: [PATCH] Add Part 1 DROPs --- Cruise.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Cruise.sql b/Cruise.sql index 55efdd5..71dd307 100644 --- a/Cruise.sql +++ b/Cruise.sql @@ -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),