N
Newbie_nick
I have a database that stores machine cycle information for multiple machines
in my plant, and I would like to generate a query to calculate individual
cycle times for each cycle for each machine. A sample data table is below:
EMPLOYEE DATE_RECORDED MACHINE_ID PROCESS_NAME
1 1/14/09 6:55 A PROCESS_CYCLE_COMPLETE
4 1/14/09 6:55 B PROCESS_CYCLE_COMPLETE
8 1/14/09 6:55 C PROCESS_CYCLE_COMPLETE
9 1/14/09 7:28 D PROCESS_CYCLE_COMPLETE
1 1/14/09 7:29 A PROCESS_CYCLE_COMPLETE
4 1/14/09 7:29 B PROCESS_CYCLE_COMPLETE
8 1/14/09 7:30 C PROCESS_CYCLE_COMPLETE
9 1/14/09 7:31 D PROCESS_CYCLE_COMPLETE
1 1/14/09 7:35 A PROCESS_CYCLE_COMPLETE
4 1/14/09 7:37 B PROCESS_CYCLE_COMPLETE
8 1/14/09 7:38 C PROCESS_CYCLE_COMPLETE
9 1/14/09 7:39 D PROCESS_CYCLE_COMPLETE
Thanks for the help!
Nick
in my plant, and I would like to generate a query to calculate individual
cycle times for each cycle for each machine. A sample data table is below:
EMPLOYEE DATE_RECORDED MACHINE_ID PROCESS_NAME
1 1/14/09 6:55 A PROCESS_CYCLE_COMPLETE
4 1/14/09 6:55 B PROCESS_CYCLE_COMPLETE
8 1/14/09 6:55 C PROCESS_CYCLE_COMPLETE
9 1/14/09 7:28 D PROCESS_CYCLE_COMPLETE
1 1/14/09 7:29 A PROCESS_CYCLE_COMPLETE
4 1/14/09 7:29 B PROCESS_CYCLE_COMPLETE
8 1/14/09 7:30 C PROCESS_CYCLE_COMPLETE
9 1/14/09 7:31 D PROCESS_CYCLE_COMPLETE
1 1/14/09 7:35 A PROCESS_CYCLE_COMPLETE
4 1/14/09 7:37 B PROCESS_CYCLE_COMPLETE
8 1/14/09 7:38 C PROCESS_CYCLE_COMPLETE
9 1/14/09 7:39 D PROCESS_CYCLE_COMPLETE
Thanks for the help!
Nick