Hi all,
I have a table which has a number of fields two of which are "scheduledTime" and "iatalookup".
The "secheduledTime" filed is a TIME type and the "iatalookup" is a VARCHAR type.
I would like to sort the output by "scheduledTime" ASC and then by "iatalookup" ASC.
The query I have so far is:
SELECT ScheduledTime, Flight, Logo, IATALookup, RemarksWithTime, Terminal, Gate FROM LHRFlightStats24 WHERE ArriveDepart = 'O' AND FlightDisplay = 'Y' ORDER BY ScheduledTime ASC, IATALookup ASC
The result is the "scheduledTime" is sorted ASC but the "iatalookup" is not. Am I doing this correctly.