Hi
I have a very complicated situation (as least to me). I have a table that contains Provider ID, Patient ID and Date of Visits. I want to know if it's possible to create a query that will produce the output I want.
I want to know from all the providers I have, which one (will be multiple providers) have 5 or more patients AND the date of visits need to within 3 consecutive months. For e.g., Dr. A has 8 patients and 6 of those patients visits within 3 consecutive months. So my query will return this Dr. as one of the results. Is it possible?