PLEASE I NEED HELP WITH THIS QUERY
The delayedFlights table light ID n th Dayof eth Day Fleek DepTine Schedule DepTise ArrTine Scheduledir TiselUniqueCarrier Flight um]ActualFlightri DepOelay|OriglDest |Distance schedul edFlightris,Airlin, Arr elay irst roM , 1,1,4,200, 1955,2211,2225 ,335, 128,150,116,-14,s,TLH,TPA,810 The airport table irportCode lairportName City State. rst row ABR,Aberdeen Regional Airport,Aberdeen, 5D Querles: | List the top 5 distinct states in which a flight between different airports within the same state has been delayed (elther in arrival or departure) by descending order with respect to number of such delays (irrespective of the length of the delay), together with the number of h delays (you can assume that no flight has both origin and destination the same airport, or arrival) that every occurrence of a line in the delayedFight file records a delay in either departureThe delayedFlights table light ID n th Dayof eth Day Fleek DepTine Schedule DepTise ArrTine Scheduledir TiselUniqueCarrier Flight um]ActualFlightri DepOelay|OriglDest |Distance schedul edFlightris,Airlin, Arr elay irst roM , 1,1,4,200, 1955,2211,2225 ,335, 128,150,116,-14,s,TLH,TPA,810 The airport table irportCode lairportName City State. rst row ABR,Aberdeen Regional Airport,Aberdeen, 5D Querles: | List the top 5 distinct states in which a flight between different airports within the same state has been delayed (elther in arrival or departure) by descending order with respect to number of such delays (irrespective of the length of the delay), together with the number of h delays (you can assume that no flight has both origin and destination the same airport, or arrival) that every occurrence of a line in the delayedFight file records a delay in either departure Show transcribed image text