QuestionQ104

Prepare data

You have a data warehouse containing a table named Stage.Customers. It stores every customer-record update from a customer relationship management (CRM) system, and a customer can have multiple updates.

You need a T-SQL query that returns the customer ID, name, postal code, and last-updated time from the most recent row for each customer ID.

How should you complete the code?

Community Discussion

No comments yet. Be the first to start the discussion!