DBMS Assn2
DBMS Assn2
DBMS Assn2
21MIS0247
Write Queries to
1.Find the train numbers for which reservation have not yet been
made.
2. Find the train names that do not have a first AC class coach.
2. Find the train names that are superfast and the service tax is
zero.
4. Find the trains names that have all the AC coaches and the
base fare is less than 3000 for each case.
2. Find the train names that are superfast and the service tax is
zero.
4. Display the train names, each type of class and the total fare for
each type of class.
7. Write a query for full outer join using any of the tables above.
Write Queries to
1.Find the train names for which ten tickets have been reserved.
1.Take the start station code and end station code and display the
train details.
6. Create a table for all the train numbers and class available in
train_ticket_fare with total seats.