I have two tables and I am trying to get information with an outer left join.
I have the following query:
SELECT *
FROM sportjefit_user
LEFT OUTER JOIN vriend ON sportjefit_user.id = vriend.vriend2
and this result:

I only want the records where ‘vriend1’ or ‘vriend2’ is not 48
Can somebody please help me out?
Thanks.
add a where clause which would map almost exactly to what you stated that you need: