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.
What is OLTP (Online Transaction Processing)? In OLTP - online transaction processing systems relational database design use the discipline of data modeling and generally follo
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
Aggregate functions Some of these functions are min, count, max, and avg. These functions help in getting consolidated information from a set of tuples. Example:
Explain Candidate key? Candidate Key - A candidate key is a minimal superkey, that can be used to uniquely identify a tuple in the relation.
growing phase and shrinking phase are disjoint, why ?
Question 1 Create a table student with attributes student name, roll number, total marks and percentage. Do the following operations Insert details in to the table Update
Define Radix conversion method One clever way to transform binary numbers to BCD notation (binary-coded decimal) is the "double dabble algorithm". It can be adapted to transfo
Can a filed occur in several field groups. Yes. But it leads to redundant data redundancy.
Explain the two types of participation constraint. 1. Total: The participation of an entity set E in a relationship set R is said to be total if each entity in E participates i
Define an abstraction by which relationships are treated as higher level entities Ans: Aggregation. It is an abstraction by which relationships are treated as higher level
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