ou will need to create the database tables and choose sensible data types for each column. Make sure to maintain entity and referential integrity, and implement all the above constraints. Since other developers work in parallel on other parts of the system, you will need to strictly follow the above specification to correctly implemented in your database. Otherwise, the other software will not be able to use your database. This means, one needs to be able to rely on all constraints being correct, the spelling of table and column names being as given, and that the data types that you chose will allow for sensible data to be added to the database in the future. For testing purposes, you are asked to insert the data specified below into the tables, but no other data except this. In short: 1. You will need to create the tables as specified 2. You will need to add the data specified Please use the 3.sql and implement your tables using the sketched CREATE TABLE commands. Add the necessary queries in the file where indicated. 3.sql: -- Task 1: Create Tables and Insert Data ------------------------------------------------------------------------------- CREATE TABLE Customer ( ); CREATE TABLE Park ( ); CREATE TABLE Booking ( ); CREATE TABLE ActivityLeader ( ); CREATE TABLE Activity ( ); CREATE TABLE Admin ( ); CREATE TABLE Lodge ( ); CREATE TABLE BookingLodge ( ); -- Add data to the tables: -- (add your queries here)
You will need to create the
Make sure to maintain entity and referential integrity, and implement all the above constraints.
Since other developers work in parallel on other parts of the system, you will need to strictly follow
the above specification to correctly implemented in your database. Otherwise, the other software
will not be able to use your database. This means, one needs to be able to rely on all constraints
being correct, the spelling of table and column names being as given, and that the data types that
you chose will allow for sensible data to be added to the database in the future.
For testing purposes, you are asked to insert the data specified below into the tables, but no other
data except this.
In short:
1. You will need to create the tables as specified
2. You will need to add the data specified
Please use the 3.sql and implement your tables using the sketched
CREATE TABLE commands. Add the necessary queries in the file where indicated.
3.sql:



Step by step
Solved in 4 steps









