C
Codeman0013
hey i'm trying to group by a doctor's last and first name is this possible
here is my sql i'm using...
SELECT DOC_FIRSTNAME, doctor_matrix.DOC_ID, DOC_PHOTO, DOC_LASTNAME,
VISIBLE_ID, DOC_TITLE, doctor_matrix.DEPTCONTACT_ID
FROM doctors, doctor_matrix, departments_contact
WHERE ((departments_contact.DEPT_ID = MMColParam) AND (doctor_matrix.
DEPTCONTACT_ID = departments_contact.DEPTCONTACT_ID) AND (doctor_matrix.
DOC_ID = doctors.DOC_ID) AND (VISIBLE_ID = 1))
ORDER BY DOC_LASTNAME ASC
i had a GROUP BY doctors.DOC_LASTNAME, doctors.DOC_FIRSTNAME in there but
took it back out....
any help would be greatly appreciated...
here is my sql i'm using...
SELECT DOC_FIRSTNAME, doctor_matrix.DOC_ID, DOC_PHOTO, DOC_LASTNAME,
VISIBLE_ID, DOC_TITLE, doctor_matrix.DEPTCONTACT_ID
FROM doctors, doctor_matrix, departments_contact
WHERE ((departments_contact.DEPT_ID = MMColParam) AND (doctor_matrix.
DEPTCONTACT_ID = departments_contact.DEPTCONTACT_ID) AND (doctor_matrix.
DOC_ID = doctors.DOC_ID) AND (VISIBLE_ID = 1))
ORDER BY DOC_LASTNAME ASC
i had a GROUP BY doctors.DOC_LASTNAME, doctors.DOC_FIRSTNAME in there but
took it back out....
any help would be greatly appreciated...