Hello you all!!!
Can you help me get the worst and the second worst times? For the worst I know I can use a BDMAX function, but I don't know how to get the second worst time.
Suppose I'm looking at a database of the transit time made by a big number of trucks every day, and they are split in the following categories:
- Type: A and B
- Date: 09/01;09/02; etc...
It looks kike this:
DATE TYPE TRANST TIME
09/01 A 14:00
09/01 B 14:00
09/01 A 15:00
09/01 B 15:00
09/01 A 16:00
09/01 B 16:00
What I want is the worst and the second worst time for each category each day. For the best I can use the BDMAX funtion. All OK, but... What about the second worst?
THX!!!!!!!!!!!!!!!!!!
Can you help me get the worst and the second worst times? For the worst I know I can use a BDMAX function, but I don't know how to get the second worst time.
Suppose I'm looking at a database of the transit time made by a big number of trucks every day, and they are split in the following categories:
- Type: A and B
- Date: 09/01;09/02; etc...
It looks kike this:
DATE TYPE TRANST TIME
09/01 A 14:00
09/01 B 14:00
09/01 A 15:00
09/01 B 15:00
09/01 A 16:00
09/01 B 16:00
What I want is the worst and the second worst time for each category each day. For the best I can use the BDMAX funtion. All OK, but... What about the second worst?
THX!!!!!!!!!!!!!!!!!!