I need to make a select of which officials are allocated on which projects but when I run my code:
select projeto.nome, funcionario.nome from projeto, funcionario
It selects all names in all projects and not how they are actually allocated. How can I refine this search?
edit: are organized as follows in 3 tables: allocation.
official
andproject
If something is missing please ask, I started mysql recently.