Prueba asi:
Código SQL:
Ver originalDELETE FROM inscriptos AS a
INNER JOIN socios AS b ON a.numerosocio = b.numero
WHERE EXISTS (
SELECT 1
FROM inscriptos
INNER JOIN socios ON inscriptos.numerosocio = socios.numero
WHERE matricula = 'n'
AND documento = b.documento
)