Hi to everyone!
Below is my data:
<caption> REVIEW CYCLE </caption><thead>
[TH="bgcolor: #c0c0c0"] Detail [/TH]
[TH="bgcolor: #c0c0c0"] DrawingNo [/TH]
[TH="bgcolor: #c0c0c0"] RevisionNo [/TH]
[TH="bgcolor: #c0c0c0"] Advance Copy [/TH]
[TH="bgcolor: #c0c0c0"] Official Submittal [/TH]
[TH="bgcolor: #c0c0c0"] Date Commented [/TH]
[TH="bgcolor: #c0c0c0"] Status [/TH]
[TH="bgcolor: #c0c0c0"] ATTACHMENTS [/TH]
</thead><tbody>
</tbody><tfoot></tfoot>
As you can see, there is duplicates in DrawingNo column. I want to create a query which would get only the DrawingNo with the latest RevisionNo which is RevisionNo 2.
Can someone help me with the code?
Appreciate your quick reply.
More powers!
Below is my data:
4 | KAP2C1-35-AR-0400-DD-0100 | 0 | 4/20/2015 | 5/1/2015 | 5/14/2015 | Revise and Resubmit | 0 |
5 | KAP2C1-35-AR-0400-DD-0100 | 1 | 5/21/2015 | 5/27/2015 | Approved As Noted | 0 | |
6 | KAP2C1-35-AR-0400-DD-0100 | 2 | 6/1/2015 | 6/7/2015 | Approved | 0 |
<caption> REVIEW CYCLE </caption><thead>
[TH="bgcolor: #c0c0c0"] Detail [/TH]
[TH="bgcolor: #c0c0c0"] DrawingNo [/TH]
[TH="bgcolor: #c0c0c0"] RevisionNo [/TH]
[TH="bgcolor: #c0c0c0"] Advance Copy [/TH]
[TH="bgcolor: #c0c0c0"] Official Submittal [/TH]
[TH="bgcolor: #c0c0c0"] Date Commented [/TH]
[TH="bgcolor: #c0c0c0"] Status [/TH]
[TH="bgcolor: #c0c0c0"] ATTACHMENTS [/TH]
</thead><tbody>
</tbody><tfoot></tfoot>
As you can see, there is duplicates in DrawingNo column. I want to create a query which would get only the DrawingNo with the latest RevisionNo which is RevisionNo 2.
Can someone help me with the code?
Appreciate your quick reply.
More powers!