Commit graph

24 commits

Author SHA1 Message Date
Nick Krichevsky dd1da53b9a Add space between company and stock code 2019-08-29 15:18:58 -04:00
Nick Krichevsky 6c28bb3d6b Remove stray SELECT in 3a 2019-08-28 16:04:07 -04:00
Nick Krichevsky 99928bf23a Add correct column name for part 3a 2019-08-28 15:43:29 -04:00
Nick Krichevsky f598bb2bd4 Fix comment formatting 2019-08-27 02:47:30 -04:00
Nick Krichevsky 591978dd3c Use ONs instead of USINGs to avoid Wong's Wrath 2019-08-27 02:44:47 -04:00
Nick Krichevsky d1c569f6b0 Add part 3d solution 2019-08-27 02:41:31 -04:00
Nick Krichevsky 5863ae7b2a Add solution for part 3c 2019-08-27 02:12:49 -04:00
Nick Krichevsky 1579dade62 Add query for part 3b 2019-08-27 02:04:02 -04:00
Nick Krichevsky 123f3a3e0d Add query for part 3a 2019-08-27 01:50:42 -04:00
Nick Krichevsky 53f5e750fb Use U1 for stock symbol unique constraint 2019-08-27 01:29:45 -04:00
Nick Krichevsky 709e81ea3e Minor formatting fix 2019-08-27 00:17:02 -04:00
Nick Krichevsky d3f3993612 Add INSERTS 2019-08-27 00:12:48 -04:00
Nick Krichevsky 35a9c8fbd9 Add missing age field to Customer 2019-08-27 00:11:48 -04:00
Nick Krichevsky a92e0ecb49 Add Part 1 DROPs 2019-08-26 23:20:34 -04:00
Nick Krichevsky fb89cea7aa Add set null deletes for Cruise foreign key (part i) 2019-08-26 23:18:05 -04:00
Nick Krichevsky 0a79f86be8 Add cascade deletes for Reservation foreign keys (part h) 2019-08-26 23:17:50 -04:00
Nick Krichevsky d03d0f5069 Add constraints for TravelAgent.title (part g) 2019-08-26 23:14:59 -04:00
Nick Krichevsky fa3b665018 Add foreign keys for Reservation and Company (part f) 2019-08-26 23:12:59 -04:00
Nick Krichevsky e0468e48fb Add constraints on Customer (part e) 2019-08-26 22:55:05 -04:00
Nick Krichevsky c5f807f958 Add UNIQUE constraint for Company (part d) 2019-08-26 22:55:02 -04:00
Nick Krichevsky 16ebe1a486 Add primary key constraints (part c) 2019-08-26 22:45:32 -04:00
Nick Krichevsky 71d842b96b Create SEQUENCEs for all auto increment columns (part b) 2019-08-26 22:27:33 -04:00
Nick Krichevsky db78ea2943 Add basic table definitions (part a) 2019-08-26 22:06:41 -04:00
Nick Krichevsky 24eb6800a2 Add empty Cruise sql file 2019-08-26 21:01:28 -04:00