I am trying to build an Oracle SQL query where I select users that contain at least one License = '+' while all Default Orgs = '-'. In other words, select users with licenses that have no default organizations. In the example below I would expect only Annete to show in the result.
Table_Users: User, License
Table_Organizations: Default_Org, Org_Name
Query below returns no results:
select User
from Table_Users, Table_Organizations
where Table_Users.User = Table_Organizations.UsrX
and (Default_Org = '+' and Default_Org = '-')*