I need a pair of excludable Querys to check a "availability" factor within a db.
It is worth the query so far I have been posing in various ways and I think, this is the most correct but I still give error
from Usuario judge where judge.juez = 1 and judge.idusuario not in Usuariomaraton
Someone could tell me what is missing from the query so I can not extract what I'm looking for (All users that have judge 1 value and are not in the Usuariomaraton table).