usando like porque no usas esto:
Código SQL:
Ver originalSELECT * FROM trails
WHERE (rotulo LIKE '%A0041A8660%')
AND (subeq LIKE '%SL02-M0%')
AND (trama NOT LIKE '%VAC%')
AND (trama IN (SELECT observaciones FROM tramas))
que para eso estan los comodines % no ;)