The document contains questions related to querying and displaying information from train and flight tables. The train table contains fields like train number, name, starting station, ending station, kilometers, coaches, and zone. The flight table contains fields like flight number, name, starting station, ending station, distance, fare, departure time, and arrival time. Fifteen questions are listed for each table to display certain fields based on different criteria like stations, distance, coaches, fare, etc.
The document contains questions related to querying and displaying information from train and flight tables. The train table contains fields like train number, name, starting station, ending station, kilometers, coaches, and zone. The flight table contains fields like flight number, name, starting station, ending station, distance, fare, departure time, and arrival time. Fifteen questions are listed for each table to display certain fields based on different criteria like stations, distance, coaches, fare, etc.
The document contains questions related to querying and displaying information from train and flight tables. The train table contains fields like train number, name, starting station, ending station, kilometers, coaches, and zone. The flight table contains fields like flight number, name, starting station, ending station, distance, fare, departure time, and arrival time. Fifteen questions are listed for each table to display certain fields based on different criteria like stations, distance, coaches, fare, etc.
Question 1 . TRAIN TABLE trainno trainname stfrom stto kms coach zone 19512 shatabi express ajmer delhi 350 15 north western
Q1. Display the details of trains going from jaipur to kolkata
Q2. display details of trains who runs 500 kms to 1000 kms Q3. display details of those trains which runs from jaipur, ajmer or delhi Q5. display trains of north western zone Q6. display names of those trains which have more than 20 coaches and are in north western zone Q7. display names of all the trains Q8. display all the stations covered by all of the trains Q9. display those trains whose coaches are more than 12 and less than 20 Q10. display those trains whose name contains express Q11. display details of those trains whose train name is of 10 letters and starts with the letter b, c or d Q12. display result in this format <trainname> runs from <stfrom> to <stto> Q13. display result in this format <trainname>trains<kms>kilometers Q14 display all the train name running from ajmer to delhi, or to ajmer Q15. display details of those trains who are running from or running to delhi. Question 2 FLIGHT TABLE flightno flightname stfrom stto distance fare deptime arrtime ------------------------------------------------------------------------------------------------------------- KSG101 Spicejet KSG JPR 150 1200 9.00 10.00
q1. display all flights going from delhi to dubai
q2. display all the flights whose fare is between 5000 to 12000 Q3. display those flights which runs from jaipur, delhi or mumbai Q4. display those flights whose name contains express Q5. display those flights which do not runs from delhi Q6. display details of those flight which arrives at 3 O Clock at delhi Q7. display the names of all the stations covered by all the flights Q8. display the flights not going from jaipur to delhi Q9. display details of spicejet flights Q10. display details of those flights who runs from the station of 4 letters to the station of 6 letters Q11. display all the flightnames with thier doubled fare Q12. display the result as follows <flightname> runs from <stfrom> to <stto> Q13. display the result as follows <flightname> runs <distance> kms and its fare is <fare> rs Q14. display those flights whose fare is of 4 digits Q15. display names of those flights which runs from jaipur to delhi and whose fare is not more than 3000.