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.
Example - ALTER TABLE emp MODIFY (empno NUMBER (7));
Domain Constraints Domain constraints are primarily formed for defining the logically correct values for an attribute of a relation. The relation allows attributes of a relatio
Describe Graphical User Interface? Graphical User Interfaces (GUIs) - A GUI typically displays a schema to the user in diagrammatic form. The user can then specify a query th
What is meant by normalization of data? It is a process of examining the given relation schemas based on their Functional Dependencies (FDs) and primary key to achieve the prop
What is it ?
Consider the following frequency counts of some itemsets in a transaction database r : freq({A}, r) = 0.405 freq({B}, r) = 0.510 freq({C}, r) = 0.303 freq({A
er diagtram for icici
what benefit can a company gain by managing its own infrasture and services
With the help of an example display how records can be deleted and updated in QBE. (i) Increase Pay_Rate of employees along with the skill of ‘cook' by 10%. (ii) Delete employee
What is Oracle databse structure? Oracle database structure: The relational model has three main aspects: Structures: Structures are well-defined objects which store th
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