Hi,
My table looks similar to this:
DOWNTIMES (
Date (PK),
Shift (PK),
Machine (PK),
DowntimeCode (PK),
SequenceNo (PK),
TotalTime
)
I need to obtain, for a specific period of time (From/To) the top 15 downtimes (in terms of time consumed) FOR EACH MACHINE.
The structure of the table cannot be changed. Any suggestions?
Thanks,
Alfred
My table looks similar to this:
DOWNTIMES (
Date (PK),
Shift (PK),
Machine (PK),
DowntimeCode (PK),
SequenceNo (PK),
TotalTime
)
I need to obtain, for a specific period of time (From/To) the top 15 downtimes (in terms of time consumed) FOR EACH MACHINE.
The structure of the table cannot be changed. Any suggestions?
Thanks,
Alfred