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.
how to data store?
what is database management system? & why it is required?
Special comparison operator used in where Clause a. between. ...and...It gives range among two values (inclusive) Example: SELECT ENAME, SAL FROM EMP WHERE SAL BETWE
What is Index? An index is a physical structure having pointers to the data. Indices are created in an existing table to locate rows more quickly and efficiently. It is possibl
What is difference among mysql_connect and mysql_pconnect? Mysql_connect() opens a new connection to the database while mysql_pconnect() opens persistent connection to the data
Which two files are used during operation of the DBMS? Data dictionary and transaction log are two files used during operation of the DBMS.
These permit the user to unload a database or parts of a database and reload the data on the similar machine, or on another machine in a dissimilar location. This can be useful in
please give me introduction to full data in D B M S in a short assignment
What are the advantages of relational data model? Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer
Give the forms of triggers? The triggering event can be insert or delete. For updated the trigger can state columns. The referencing old row as clause The referencing
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