0

I wonder what is the difference of these two queries and which one hás the best performance?

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

or

SELECT employee.*, company.name  FROM 
company 
INNER JOIN employee ON employee.company_id  = company.id
WHERE
company.id = '365'
rgettman
  • 176,041
  • 30
  • 275
  • 357
Tuyoshi Vinicius
  • 861
  • 8
  • 22

1 Answers1

2

Just a different notation. No other difference.

Lodewijk Bogaards
  • 19,777
  • 3
  • 28
  • 52