Using fake data and field names, but this is the issue I am having.
OrderID: Status:
1 Complete
1 Incomplete
2 Complete
3 Incomplete
4 Incomplete
4 Incomplete
5 Complete
5 Complete
I want a query that would return:
OrderID: Status:
1 Incomplete
2 Complete
3 Incomplete
4 Incomplete
5 Complete
If any status for a particular OrderID is false, status should be false.
Status is actually the result of a calculation, so I could even build this query logic around how status is generated. There are hundreds of records so runtime is an issue.
Thank you!