Add Part 1 DROPs
parent
fb89cea7aa
commit
a92e0ecb49
13
Cruise.sql
13
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),
|
||||
|
|
Loading…
Reference in New Issue