smartbuilder2k
New Member
- Joined
- Jan 18, 2005
- Messages
- 44
Hi All,
I have got 3 columns, namely - A) DefectNo B)Fixed/SendBackDate C)Action_name.
-> The "DefectNo." column may contain duplicate values. For ex: "Def100" has occured several times but with different Fixed/SendBackDate & Action_name.
->The "Fixed/sendbackDate" column contains date on which a particaular Defect no. has been Fixed or SendBack in Format "2005-11-01 18:07:40".
->The "Action_name" column contains action taken for defects. It may contain values namely Fixed or SendBack.
It is possible that same Defect no. might have Fixed or SendBack more than 1 time.
Following are my requirement:
- There are some DefectNo. which have duplicate entries (with different Action_name and Fixed&SendBack Date).
- Get the latest entry for each DefectNo. (i.e. the latest Fixed/SendBack Date) so that all Defect no become unique.
- Against each DefectNo. it should also get when was it Sendback and how many times it was sent back.
I know its quite confusing but with my level best I have clarified every thing above that what my requiremetn is?
Pls requesting you all to give me the solution as soon as possible.
I would be thankful to everyone for their effort.
Regards,
I have got 3 columns, namely - A) DefectNo B)Fixed/SendBackDate C)Action_name.
-> The "DefectNo." column may contain duplicate values. For ex: "Def100" has occured several times but with different Fixed/SendBackDate & Action_name.
->The "Fixed/sendbackDate" column contains date on which a particaular Defect no. has been Fixed or SendBack in Format "2005-11-01 18:07:40".
->The "Action_name" column contains action taken for defects. It may contain values namely Fixed or SendBack.
It is possible that same Defect no. might have Fixed or SendBack more than 1 time.
Following are my requirement:
- There are some DefectNo. which have duplicate entries (with different Action_name and Fixed&SendBack Date).
- Get the latest entry for each DefectNo. (i.e. the latest Fixed/SendBack Date) so that all Defect no become unique.
- Against each DefectNo. it should also get when was it Sendback and how many times it was sent back.
I know its quite confusing but with my level best I have clarified every thing above that what my requiremetn is?
Pls requesting you all to give me the solution as soon as possible.
I would be thankful to everyone for their effort.
Regards,