1
Hello, I would need a help, I would like to bring only the employee who does not have the word NR-35 in the table/column functionalscursospd/pdf, my problem is that I have more than one course linked to the same user.
SELECT fd.id,
fd.nome,
fd.cpf,
fd.cursos
FROM funcionariosdoc AS fd
INNER JOIN funcionarioscursospdf AS fc
ON fd.id = fc.id_func
WHERE fd.cursos LIKE '%NR-35%'
AND fc.pdf NOT LIKE '%NR-35%'
Thanks, it worked!
– user144273