You are here: INNER JOIN « PHP SQL « IT news, forums, messages
INNER JOIN

Posted by Gosiek on 08/29/05 16:18

Hello everyone,
I want to select employees and products which they bought. I did it in
two ways:

SELECT Employees.Name, Orders.Product
FROM Employees, Orders
WHERE Employees.Employee_id=Orders.Employee_id

SELECT Employees.Name, Orders.Product
FROM Employees
INNER JOIN Orders
ON Employees.Employee_id=Orders.Employee_id

My question is: which way is faster?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация