I don't know why I can't wrap my head around this one because it seems like it should be pretty simple but it just isn't working. I'm writing a Select Query against a Table that has these fields:
Customer ID
Move Date
Customer Name
Address
City
State
Zip
Phone
A given customer can have multiple move dates and addresses for different places they have lived. What I want to do is write a query that pulls all customers by customer ID and selects their most recent move date and whatever address information happens to be associated with that record. In other words I want all customers and their most recent addresses. I've tried max, first, sorting, and I keep getting skewed or incorrect results when I validate. Any help is appreciated.