EDIT: this did it:
SELECT DISTINCT profileid
FROM profilesrelevation
WHERE profileid NOT IN (
SELECT profileid FROM profiles
)
I need to get the profile values that exist in the navigation table, but not in the profile table
Profile tablehas 8107 different "profileid" values, whereas a profile table has 8380 different "profile" values ...
profiles.profileid
profilesrelevation.profileid
select * from profiles, profilesrelevation
where profilesrelevation.profileid != profiles.profileid
not working how?
source
share