I'm using Inner Join
to combine two tables:
SELECT eventos.colab_id, colaboradores.setor
FROM colaboradores INNER JOIN eventos
ON colaboradores.id = eventos.colab_id
So far so good, however I have cases where I need to delete the " character of eventos.colab_id
. REPLACE
does this, however I'm not aware use the syntax along with Inner Join
.