it's not working because the subquery returns all the rows in the config table and therefore the outer query doesn't return anything
there are two ways to do what you want
Code:
select gsl.pos
from gsl
where not exists
( select pos
from config
where pos = gsl.pos )
select gsl.pos
from gsl
left outer
join config
on gsl.pos
= config.pos
where config.pos is null