Skip to main content
1 de 7
Tuyoshi Vinicius
  • 4,1mil
  • 2
  • 25
  • 48

Query em duas tabelas sem INNER JOIN

Gostaria de saber, existe uma diferença em relação a performance dessas duas queries?

SELECT employee.*, company.name  FROM 
company,
employee
WHERE
employee.company_id = company.id AND
company.id = '365'

ou

SELECT employee.*, company.name  FROM 
company 
INNER JOIN employee ON employee.company_id  = company.id
WHERE
company.id = '365'
Tuyoshi Vinicius
  • 4,1mil
  • 2
  • 25
  • 48