Hi there,
I need to count flight_id
flight_id datetime la_max 001 1/1/2001 6:50:15 555 002 1/1/2001 6:50:15 500
002 1/1/2001 6:51:15 550
003 2/1/2001 7:50:15 600
004 2/1/2001 8:50:15 700
004 2/1/2001 9:50:15 800
if flight_id more then once then field la_max needs to be check for maximum then if datetime + or - 2 minutes count only the record with max la_max else count it.
the example above the records count should be 5
001 1/1/2001 6:50:15 555 002 1/1/2001 6:51:15 550
003 1/1/2001 7:50:15 600
004 2/1/2001 8:50:15 700
004 2/1/2001 9:50:15 800
big thanks
nat
I need to count flight_id
flight_id datetime la_max 001 1/1/2001 6:50:15 555 002 1/1/2001 6:50:15 500
002 1/1/2001 6:51:15 550
003 2/1/2001 7:50:15 600
004 2/1/2001 8:50:15 700
004 2/1/2001 9:50:15 800
if flight_id more then once then field la_max needs to be check for maximum then if datetime + or - 2 minutes count only the record with max la_max else count it.
the example above the records count should be 5
001 1/1/2001 6:50:15 555 002 1/1/2001 6:51:15 550
003 1/1/2001 7:50:15 600
004 2/1/2001 8:50:15 700
004 2/1/2001 9:50:15 800
big thanks
nat