Good afternoon eclectic minds of database wisdom.
Ok here is my query:
I have a customer table and i have a communication table where we record all outbound and inbound communications. There are many communications for each customer. I want to run a query that displays the date the last time the customer was in contact. At current, when the query runs it will create duplicate rows for every customer as there are many dates of contact. Essentially I want it to return the max date value for each customer and only have one instance of that display. Ultimately, i want the query to show the last date the customer was in contact with us.
I hope my explanation was clear.
Thank you all in anticipation.
Ok here is my query:
I have a customer table and i have a communication table where we record all outbound and inbound communications. There are many communications for each customer. I want to run a query that displays the date the last time the customer was in contact. At current, when the query runs it will create duplicate rows for every customer as there are many dates of contact. Essentially I want it to return the max date value for each customer and only have one instance of that display. Ultimately, i want the query to show the last date the customer was in contact with us.
I hope my explanation was clear.
Thank you all in anticipation.
Last edited: