I am using the following query to find client who are from the medicine department:
SELECT client.clientID, client.firstname, client.lastname, client.organization,
client.department, client.email, events.Date, events.title,
eventAttendance.eventID, eventAttendance.clientID,
eventAttendance.attended
FROM client INNER JOIN
(events INNER JOIN eventAttendance ON events.id = eventAttendance.ID)
ON client.clientID = eventAttendance.clientID
WHERE client.organization like '%medicine'
In the table, the possibilities are "School of Medicine" and "Department of Medicine;" however, no records are returned. What am I missing?
Thank you.