0
I have the following example, two related tables
Tabela SETOR
SetorID [chave]
Setor
Vagas
Tabela FUNCIONARIOS
FuncionarioID[chave]
SetorID[chave estrangeira]
Nome
Funcao
CargaHoraria
I would like to make an SQL query filtering by Sector ID, where the result is as follows:
Display Sector data and employees linked to this sector.
Which database? what have you tried to do?
– Marco Souza
Please specify which database you are using, despite similar concepts, there may be syntax differences from one to the other
– Lucas Queiroz Ribeiro