What characteristics differentiate a query performed using Natural Join
from another with the use of Inner Join
? Is there any performance related question or any other condition that leads me to choose one over the other?
For the example below, we would have the following queries:
select livro.nome_livro, editora.nome_editora from livro natural join editora
or
select livro.nome_livro, editora.nome_editora from livro
inner join editora on editora.codigo_editora = livro.codigo_editora