Hi I have three tables that hold similar information, for example Client ID, Date.
One of the tables shows client information, another shows how many times a client comes into the establishment and uses certain services, the last one shows whether a client stayed successfully overnight.
I want to build a report which counts each service a client has had during the day using date parameters and how many times during that parameter they stayed overnight.
I have built a query, which counts the services by date parameter, but it duplicates the number of times the client has stayed overnight (e.g., client came in on 1/7/18 and 2/7/18 but only stayed overnight on 2/7/18 - query shows two of the latter records).
Can someone please tell me what I'm doing wrong?
Kelly