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.
Explain mechanism of nested queries? SQL gives a mechanism for nesting subqueries. A subquery is a select from where expression that is nested within one more query. A common u
Describe DROP TABLE command of SQL along with both the options - CASCADE and RESTRICT. DROP TABLE command - This command drops the specified table. Dropping a table also dro
Explain the Aggregation implies concurrency Concurrency actually is: This in objects can be identified by the way they change state. Present objects can change state independen
Databases and data warehouses both are databases and both contains number of rows and columns of tables containing data. Data warehouse is really different from databases because d
List the Armstrong's axioms for functional dependencies. What do you understand by soundness and completeness of these axioms? Ans: The Armstrong's axioms are: F1:
The following relational database schema represents part of a simplified database used by a library: tblBook (BookID, Title, PublisherID, Category,Price) tblPublisher (Publishe
Consider the join of a relation R with relation S. If R has m tuples and S has n tuples, then the maximum size of join is: If R has m tuples and S has n tuples then maximum siz
Explain the benefit of OOM. Main benefits of object oriented modeling are development of system become fast, quality of the system get improve. It gives freedom of use of alrea
What is MySQL? MySQL is a relational database management system which has eleven million installations. It can be used for both Linux and Window. Managing database includes add
Although how will the system recover The selection of REDO or UNDO for a transaction for the recovery is completed on the basis of the state of the transactions. This state is
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd