Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Flights(FlightNo, DeptDateTime, Origin, ArrivalDateTime, Destination, Capacity, SoldSeats) Tickets(FlightNo, Seat, CustID)Where- flightNo is the PK of the flights table- DeptDateTime holds the date and time of the flights departure- Origin holds the airport code (e.g. RKE) of the flights origin- ArrivalDateTime holds the date and time of the flights arrival- Destination holds the airport code (e.g. ATL) of the flights destination- Capacity is the number of passenger seats the flight can hold- SoldSeats is the number of seats that are currently sold- FlightNo+Seat is the PK of the Tickets Table- FlightNo in the Tickets Table is an FK referencing the Flights Table- Seat is the seat assigned to that ticket (e.g. 7B)- CustID is the ID number of the customer that is assigned to that seatWrite a trigger or triggers that:- increments the SoldSeats field when a ticket is inserted- raises an exeception when an attempt to insert a ticket occurs if the flight is already sold out- decrements the SoldSeats field when a ticket is deletedTo provide appropriate transaction control your trigger should lock the associated flight row in the flights table before attempting to update the SoldSeats field.Add sample data and test your triggers.Have your triggers finished with some sample data entered by the start of class on November 16th.
The PROJECT operation The project operation is used to choose the records with specified attributes as discarding the others based on some related criteria. This is denotes as ∏
Shared lock or Read Lock It is requested by a transaction that needs to just read the value of data item. A shared lock on a data item does not permit an exclusive lock
Designing the fields in the data base The following are the considerations one has to remain in mind while designing the fields in the data base. Coding, compression, en
Spanned and unspanned organisation? Spanned and unspanned organization: If records are not permited to cross block boundaries then the organisation is called unspanned record
What is the difference between WHERE and HAVING clauses?. Predicates in the WHERE clause applies to every tuple while the predicate in the HAVING clause applies to groups.
The aims of the project are: 1. To enable the students to undertake the detailed design of a specific plant or process 2. The design projects includes: process selection; und
List the SQL domain Types? SQL supports the following domain types. 1) Char(n) 2) varchar(n) 3) int 4) numeric(p,d) 5) float(n) 6) date.
Explain nested relations? Nested relations The assumption of INF is a natural one in the bank examples we have considered. However, not all applications are best modelled
Explain the function of Object model Object model describes the classes of objects in system, including their attributes and operations which they support. The analysis object
Design a gennalization and specialization hierarchy for an automobile sales company
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd