I am very new and trying to learn how to use Select, Join, and Where with sqlite in android. Ideally this is what I want to return from the Database:
People who have the role id of 4 (Ranged):
select people.[name]
from people
join people_role
on people.[id] = people_role.[people_id]
where role_id = 4
What would the code be for returning People that have the role_id of 4?