Hello,
I have troubles building a sql command that do the following:
I have a module that should display the only the users that are simultaneous in 2 distinctive usergroups.
I have tried to put into Custom SQL WHERE field:
group_id=205 AND group_id=21 No success
(group_id=205 AND group_id=21) No succes either
The module display correctly only if i do
group_id=205
or
group_id=21
how do i compose complex filter using AND, OR, and parenthesis operators?
I'm have no sql complex knowledge about sql sintax so an complex filter example containing () will help me much more.
Later edit:
with OR operator the module is working also
group_id=205 OR group_id=21 is displaying a list of users
but i need AND operator and some paranthesis for building complex sql interogation
I need to display only the users that are simultaneous in several user groups