I have 2 Tables like below
workitem
workId WorkName Status
1 xyz 16
2 abc 16
3 mnc 16
WorkItemTrack
TrackID workId Status
1 1 3
2 1 5
3 1 9
4 2 5
5 2 9
6 3 3
7 3 9
For each “workId” in the WorkItemTrack table the staus should set to 3,5 & 9. in the above case for the workId 2 & 3 the “status” 3 & 5 are missing respectively.
In the above WorkItemTrack Table for the “workId” 2 & 3 the Status 3 & 5 are missing respectively. How to find these 2 records in the above case
This ought to do it.