12
What characteristics differentiate a consultation performed with the use of Natural Join
other with the use of Inner Join
? Is there any question related to performance 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
My question is, if this method impacts performance?
– David Costa
Like I said in the first line, no. Of course if you buy with comparable things, compare one form with another that does something else of course there is a difference, but then the problem is not knowing how to compare.
– Maniero