I have a table of patient consultations, I would like to run a query which selects the last consultation for patients. I have tried max(date), but the problem is one of the patients has only had one consultation and they do not show on the query, Does anyone know how to get around this.
The tabel looks like this.
PatientIndex Date
1 10/3/2001
1 14/3/2001
1 25/4/2001
2 1/4/2001
3 3/3/2001
3 4/5/2001
thanks in advance
The tabel looks like this.
PatientIndex Date
1 10/3/2001
1 14/3/2001
1 25/4/2001
2 1/4/2001
3 3/3/2001
3 4/5/2001
thanks in advance