I have a ESCOLA
table with ID_ESCOLA
and NOME_ESCOLA
and another table PROFESSORES
that contains a FK_ID_ESCOLA
and NOME_PROFESSOR
. I wanted a table that would give me the name of all the schools, but the schools that had no teacher would return with another color. I know how to handle this data, I just do not know how to set up sql .
Thank you all.