I have a query in which I want to get the name of a course when a field is different the problem is that it shows me repeated records know what the problem could be. the query should only show courses that you do not have assigned
============= sql query ============================================== =======
SELECT CG.NOMBRE_CURSO
FROM curso_generico_relator cgr,curso_generico cg,relatores r
where not cgr.RUT_RELATOR='23.709.392-5'
and cgr.ID_CURSO=cg.ID_CURSO
and cgr.RUT_RELATOR=r.RUT_RELATOR
=========================== ====================================== ===================