I'm currently trying to get an SQL select query to work for a users listing module but am having difficulties.
I have two fields, both checkbox lists with several options. The first notes which research groups the users are in and the second selects if they are group lead for any research groups, so the first field is called "cluster" and the second is "group_coordinator".
I had the query running okay to select from the research group (cluster LIKE "%Cultural Heritages%") but now I also need to add in a selector for group_coordinator NOT LIKE "%Cultural Heritages%". So the query should select all folk who have been checked as being in the Cultural heritages group but should exclude those noted as being the group coordinator.
I tried ((cluster LIKE "%Cultural Heritages%" AND (group_coordinator NOT LIKE "%Cultural Heritages%))" without any joy.