Hi all,
Let's say if i want to select some fields from 2 table i do something like
SELECT cust.cust_id,
name.first_name
FROM Customer As Cust,
JOIN detail As Name ON cust.cust_id = name.cust_id
OR i can do
SELECT cust.cust_id,
name.first_name
FROM Customer AS cust,
Detail AS Name
WHERE cust.cust_id = name.cust_id
which will yield the same result. However the second SQL statment does not have a JOIN. Is there a difference? Which is better for performance?
Thanks in advance
Yue Jeen
Let's say if i want to select some fields from 2 table i do something like
SELECT cust.cust_id,
name.first_name
FROM Customer As Cust,
JOIN detail As Name ON cust.cust_id = name.cust_id
OR i can do
SELECT cust.cust_id,
name.first_name
FROM Customer AS cust,
Detail AS Name
WHERE cust.cust_id = name.cust_id
which will yield the same result. However the second SQL statment does not have a JOIN. Is there a difference? Which is better for performance?
Thanks in advance
Yue Jeen