Link to home
Start Free TrialLog in
Avatar of mike247
mike247Flag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mike247

ASKER

This works perfectly.  Thanks!