Good day.
There are two tables, you need to select the values ​​that are in one table, but not in the other

SELECT groups._id, groups.group_name FROM groups INNER JOIN test ON groups. _id != test._id 

so

  SELECT groups._id, groups.group_name FROM groups , test WHERE groups._id != test._id 

but lists all the entries in the groups table.

    1 answer 1

    Figured out

      SELECT groups._id, groups.group_name FROM groups LEFT JOIN test ON groups._id = test._id WHERE test._id IS NULL