Question 240
A customer has multiple dated orders and a report needs the latest order for each customer. Which action BEST addresses the stated requirement?
Explanation
Correct Answer
Window ranking selects per-entity records without collapsing unrelated fields. Use a window partitioned by customer ordered by order time with deterministic tie-breaking.
Incorrect Answers
Window aggregates retain each row while incorporating nearby periods; window ranking selects per-entity records without collapsing unrelated fields.
Ranking semantics depend on partition boundaries; window ranking selects per-entity records without collapsing unrelated fields.
Distributed ordering before deduplication does not guarantee reliable precedence; window ranking selects per-entity records without collapsing unrelated fields.






Certified Data Engineer Associate Practice Tests