Can anyone help me real quick, please? Thanks in advance.
I have a table that contains all update history of every single check. Within each check, I need to
pull out the TimeStamp of a update batch (regardless of stage) WHEN the ProblemID #1 is not included
in that batch anymore. In the table below, I need to pull out TimeStamp of records
from ID #8 (7/9/2003 11:30:15 AM) and #15 (7/9/2003 11:30:15 AM).
Below is the table with 2 checks here (there are many many more checks will be in the table,
so I cannot say where ID in (8, 15)):
ID CheckNo Stage ProblemID Updated TimeStamp
1 1 1 1 First Time 7/7/2003 10:12:50 AM
2 1 1 2 First Time 7/7/2003 10:12:50 AM
3 1 1 3 First Time 7/7/2003 10:12:50 AM
4 1 1 4 First Time 7/7/2003 10:12:50 AM
5 1 1 1 Second Time 7/8/2003 12:30:25 PM
6 1 1 2 Second Time 7/8/2003 12:30:25 PM
7 1 1 3 Second Time 7/8/2003 12:30:25 PM
8 1 2 3 Third Time 7/9/2003 11:30:15 AM
9 1 2 4 Third Time 7/9/2003 11:30:15 AM
10 2 1 1 First Time 7/7/2003 10:12:50 AM
11 2 1 2 First Time 7/7/2003 10:12:50 AM
12 2 1 3 First Time 7/7/2003 10:12:50 AM
13 2 1 4 First Time 7/7/2003 10:12:50 AM
15 2 1 2 Second Time 7/8/2003 12:30:25 PM
16 2 1 3 Second Time 7/8/2003 12:30:25 PM
I have a table that contains all update history of every single check. Within each check, I need to
pull out the TimeStamp of a update batch (regardless of stage) WHEN the ProblemID #1 is not included
in that batch anymore. In the table below, I need to pull out TimeStamp of records
from ID #8 (7/9/2003 11:30:15 AM) and #15 (7/9/2003 11:30:15 AM).
Below is the table with 2 checks here (there are many many more checks will be in the table,
so I cannot say where ID in (8, 15)):
ID CheckNo Stage ProblemID Updated TimeStamp
1 1 1 1 First Time 7/7/2003 10:12:50 AM
2 1 1 2 First Time 7/7/2003 10:12:50 AM
3 1 1 3 First Time 7/7/2003 10:12:50 AM
4 1 1 4 First Time 7/7/2003 10:12:50 AM
5 1 1 1 Second Time 7/8/2003 12:30:25 PM
6 1 1 2 Second Time 7/8/2003 12:30:25 PM
7 1 1 3 Second Time 7/8/2003 12:30:25 PM
8 1 2 3 Third Time 7/9/2003 11:30:15 AM
9 1 2 4 Third Time 7/9/2003 11:30:15 AM
10 2 1 1 First Time 7/7/2003 10:12:50 AM
11 2 1 2 First Time 7/7/2003 10:12:50 AM
12 2 1 3 First Time 7/7/2003 10:12:50 AM
13 2 1 4 First Time 7/7/2003 10:12:50 AM
15 2 1 2 Second Time 7/8/2003 12:30:25 PM
16 2 1 3 Second Time 7/8/2003 12:30:25 PM