sql code for this question below Portland Airports Ltd would like a database to be implemented to track information about particular flights. Flights have no. of passengers, flight number, airline, day of the week, time and duration. The status i.e. whether the flight is onTime, cancelled or delayed is also required. All fights use an aircraft and arrive or depart from an airport. By definition, pilots are those employees who are certified on at least one aircraft. An aircraft can be used for any flight provided it has sufficient range. Pilots can pllot any flight provided they are certified on an aircraft with sufficient range and maximum capacity. Employee's personal information and salary are stored. Table 1 - Aircraft Records to be entered Table 2 -Flight Records to be entered Table 3: Emplovee information Task 1 - Implement the ERD shown above. (45 marks) a. Write create and use statements to create the database portlandAirports+ID\# [2] b. Create Table Statements [12] (Ensure auto number is used for the Shift table) i. Using appropriate Foreign Keys [ 4 ] ii. Ensure that the mandatory participation is implemented [2] b. Create Table Statements (Ensure auto number is used for the Shift table) i. Using appropriate Foreign Keys ii. Ensure that the mandatory participation is implemented iii. Using correct data types c. Create and name the following constraints i. Ensure that email is unique ii. Ensure that the maxCapacity field has a default value of 100 . d. Modify the respective table to add a minimum and maximum range field to Aircraft. e. Ensure range values are checked to fall within the particular ranges f. Delete the name field from the employee table and add first_name, Middle Initial and last name fields. g. Ensure that the salary field can accept 12 digits of precision with a scale of 2 h. Add the status field to flight and ensure it can only accept the values - cancelled, delaye or OnTime, default to OnTime i. Delete the cargo field from the flight table add the distance Task 2.- Demonstrate interacting with data ( 55 marks) a. Develop appropriate full and partial insert statements for each table (Information in Tables 1 and 2 should be inserted as well as other information given Ensure values are entered in your added columns) b. Add 1 additional records for all tables except the aircraft table c. All Caribbean Airline and Jet Blue flights are delayed. d. Give the first, middle initial, last name, email of all cmployees who are not pilots e. Display the flight number, number of passengers, departure time, arrival time, airline, day, time for all flights that is arriving at the Norman Manley or Donald Sangster airpor Sort the records by airline within arriving airport f. Display all flights that are departing Norman Manley, Toronto or Miami Airports during weekdays (Monday to Thursday) where the second character in the name of the airline is an ' e '. g. Delete one of the records entered h. Display all aircraft that can carry 250.