Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need a SQL query to the following problem: The following relations keep track

ID: 648593 • Letter: I

Question

I need a SQL query to the following problem:

The following relations keep track of airline flight information:

Flights ( flightNo: int, fromDes: varchar2(50) , toDes: varchar2(50), distance: int, departs: Date, arrives: Date, price: real)

Aircraft ( airplaneID: int, airplaneName: varchar2(50), cruisingRange: int)

Certified ( employeeID: int, airplaneID: int)

Employees ( employeeID: int, employeeName: varchar2(50), salary: int)

X = One City Y = A different City

A customer wants to travel from X to Y with no more than two changes of flight. List the choice               of departure times from X if the customer wants to arrive in Y by 6 pm.

Explanation / Answer

select flightNo from flights where fromDes = X and toDes = Y;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote