SQL: Latest Status per PO
Return only the newest event for every PO.
Before you answer
State the key, the expected grain and one edge case you would test. The goal is not only to get a result, but to know why it is correct.
Hint
ROW_NUMBER over PO ordered by EventTime descending.
Completion is stored only in this browser.