G
Guest
Hello,
I am having trouble writing a query to return the data I want.
I have a Customer Table (tblCustomers) & I have an Assessment Table
(tblAssessments) where they both have the "CustomerID" Field to join them on.
1 Customer can have many Assessments (each Assessment has a different
Assessment Date)
What I would like to have returned is Only the Customers that have
Assessments and only the "newest" Assessment for each customer.
I guess the MAX function will be needed & I also played around with GROUP BY
but I can get it to work right.
Any help would be greatly appreciated & ideally if someone could write the
Query out for me.
Thank you,
Jeff
I am having trouble writing a query to return the data I want.
I have a Customer Table (tblCustomers) & I have an Assessment Table
(tblAssessments) where they both have the "CustomerID" Field to join them on.
1 Customer can have many Assessments (each Assessment has a different
Assessment Date)
What I would like to have returned is Only the Customers that have
Assessments and only the "newest" Assessment for each customer.
I guess the MAX function will be needed & I also played around with GROUP BY
but I can get it to work right.
Any help would be greatly appreciated & ideally if someone could write the
Query out for me.
Thank you,
Jeff