【发布时间】:2018-10-01 08:37:54
【问题描述】:
我需要找出从第一个流程到第二个流程以及从第二个流程到第三个流程需要多长时间。表中的不同是lotid、设备类型和插槽。我需要在表中找到多个字符串。
进程 1 - 点击加载批次
过程 2 - 使用批次 ID KLMHA3760600N31ETTM002SP2REB1 设备类型 Mamba-6HR-CC3E 的“Q-Check”按钮开始的 Q-check
使用批次 ID KLMHA3760600N31ETTM002SP2REB1 设备类型 Mamba-6HR-CC3E 的“开始”按钮启动流程 3-Q-check
为批次 KLMHA3760600N31ETTM002SP2REB1 插槽 1,2,3,4,5,6,7,8,9,10,12,13,15,16,17,18,19 选择了流程 4-运行过程21,”
这是我的数据库的样子:
+-----------------------+----------------------------------------------------------------------------------------------------------------+------+------+
| Time | Process | Oven | Line |
+-----------------------+----------------------------------------------------------------------------------------------------------------+------+------+
| 10/1/2018 8:45:45 AM | Load Lot Clicked | 2 | 4072 |
| 10/1/2018 8:47:22 AM | Q-check Started using 'Q-Check' Button for Lot ID KLMHA3760600N31ETTM002SP2REB1 Device Type Mamba-6HR-CC3E | 2 | 4073 |
| 10/1/2018 8:47:22 AM | - slots = 1,2,3,4,5,6,7,8,9,10,12,13,15,16,17,18," | 2 | 4074 |
| 10/1/2018 8:47:34 AM | - Completed Loading C:\masters\winapps\MBI\diags\M5674_DRV_V53.s19, 0 retries with 0 of 16 needing reload" | 2 | 4075 |
| 10/1/2018 8:47:37 AM | - Completed Loading C:\masters\winapps\MBI\diags\M567x_V053_1.s19, 0 retries with 0 of 16 needing reload" | 2 | 4076 |
| 10/1/2018 8:51:29 AM | Close Selected from BIB screen for lot | 2 | 4077 |
| 10/1/2018 8:51:31 AM | BIB Screen opened on slot 1 | 2 | 4078 |
| 10/1/2018 9:02:04 AM | Close Selected from BIB screen for lot | 2 | 4079 |
| 10/1/2018 9:02:44 AM | Q-check Started using 'Q-Check' Button for Lot ID KLMHA3760600N31ETTM002SP2REB1 Device Type Mamba-6HR-CC3E | 2 | 4080 |
| 10/1/2018 9:02:44 AM | - slots = 1,2,3,4,5,6,7,8,9,10,12,13,15,16,17,18,19,21," | 2 | 4081 |
| 10/1/2018 9:02:57 AM | - Completed Loading C:\masters\winapps\MBI\diags\M5674_DRV_V53.s19, 0 retries with 0 of 18 needing reload" | 2 | 4082 |
| 10/1/2018 9:03:00 AM | - Completed Loading C:\masters\winapps\MBI\diags\M567x_V053_1.s19, 0 retries with 0 of 18 needing reload" | 2 | 4083 |
| 10/1/2018 9:07:01 AM | Close Selected from BIB screen for lot | 2 | 4084 |
| 10/1/2018 9:07:04 AM | Q-check Started using 'Start' Button for Lot ID KLMHA3760600N31ETTM002SP2REB1 Device Type Mamba-6HR-CC3E | 2 | 4085 |
| 10/1/2018 9:07:04 AM | - slots = 1,2,3,4,5,6,7,8,9,10,12,13,15,16,17,18,19,21," | 2 | 4086 |
| 10/1/2018 9:07:19 AM | - Completed Loading C:\masters\winapps\MBI\diags\M5674_DRV_V53.s19, 0 retries with 0 of 18 needing reload" | 2 | 4087 |
| 10/1/2018 9:07:22 AM | - Completed Loading C:\masters\winapps\MBI\diags\M567x_V053_1.s19, 0 retries with 0 of 18 needing reload" | 2 | 4088 |
| 10/1/2018 9:09:31 AM | Cancel Proc Selected for lot KLMHA3760600N31ETTM002SP2REB1 | 2 | 4089 |
| 10/1/2018 9:09:43 AM | BIB Screen opened on slot 1 | 2 | 4090 |
| 10/1/2018 9:09:55 AM | Close Selected from BIB screen for lot | 2 | 4091 |
| 10/1/2018 9:10:38 AM | Q-check Started using 'Start' Button for Lot ID KLMHA3760600N31ETTM002SP2REB1 Device Type Mamba-6HR-CC3E | 2 | 4092 |
| 10/1/2018 9:10:38 AM | - slots = 1,2,3,4,5,6,7,8,9,10,12,13,15,16,17,18,19,21," | 2 | 4093 |
| 10/1/2018 9:10:53 AM | - Completed Loading C:\masters\winapps\MBI\diags\M5674_DRV_V53.s19, 0 retries with 0 of 18 needing reload" | 2 | 4094 |
| 10/1/2018 9:10:56 AM | - Completed Loading C:\masters\winapps\MBI\diags\M567x_V053_1.s19, 0 retries with 0 of 18 needing reload" | 2 | 4095 |
| 10/1/2018 9:12:58 AM | - Run Proc Selected for lot KLMHA3760600N31ETTM002SP2REB1 slots 1,2,3,4,5,6,7,8,9,10,12,13,15,16,17,18,19,21," | 2 | 4096 |
+-----------------------+----------------------------------------------------------------------------------------------------------------+------+------+
【问题讨论】:
-
数据图片没有帮助;如果您要提供数据,请将其提供为
text。此外,在发布问题时,实际提出问题非常重要(看起来很明显,对吧???????);你还没有在这里你刚刚陈述了你的目标。你的问题是什么?你试过什么了?您遇到了什么问题/错误? -
点击任意单元格,按CTRL+A,按CTRL+SHIFT+C,粘贴到文本文件中,整理一下。将整理好的数据粘贴到这里。不要发布屏幕截图。
标签: sql-server tsql