2
I have a table ESCOLA
with ID_ESCOLA
and NOME_ESCOLA
and another table PROFESSORES
containing a FK_ID_ESCOLA
and NOME_PROFESSOR
. I wanted a table that would return me the names of all schools but schools that had no teachers would return with another color. I know how to handle this data, I just don’t know how to assemble the sql.
Thank you all.