kryptkitten
Registered User.
- Local time
- Today, 15:27
- Joined
- Jul 19, 2010
- Messages
- 34
Hi All,
I am trying to help out another department with a query and am not sure what would be the best approach to get them what they want.
So they want a count of the number of patients that have had more than 2 visits. All the data they are querying on is in one table, but the patient first and last name are separate columns, which I think is what the count needs to be based on. So it would seem to me that the first and last name should be concatenated and then I would need the count. So my question is could this all be done within one query and if so how should it be structured?
Thanks!
Stacy
I am trying to help out another department with a query and am not sure what would be the best approach to get them what they want.
So they want a count of the number of patients that have had more than 2 visits. All the data they are querying on is in one table, but the patient first and last name are separate columns, which I think is what the count needs to be based on. So it would seem to me that the first and last name should be concatenated and then I would need the count. So my question is could this all be done within one query and if so how should it be structured?
Thanks!
Stacy