mike247
asked on
returning max value of one column per cust and returning multiple columns
Hey guys,
I have a view with four columns: CustID, DocNum, OppNum, Date. I want to query this view and return the row with the latest date for each CustID. I want to return all 4 columns in the query. I tried using max(date) but no luck. Any help you can provide is much appreciated. Thank you.
I have a view with four columns: CustID, DocNum, OppNum, Date. I want to query this view and return the row with the latest date for each CustID. I want to return all 4 columns in the query. I tried using max(date) but no luck. Any help you can provide is much appreciated. Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER