Hi,
Please tell me
Is there any thing difference between this two queries ?
as the result is coming same for both the query.
where can i use this query ??
SELECT nme, dptname
FROM emp LEFT JOIN dept ON emp.dpt_id = dept.dpt_id
ORDER BY nme DESC
SELECT nme, dptname
FROM emp, dept
WHERE emp.dpt_id = dept.dpt_id(+)
ORDER BY nme DESC
The result -->
nme, dptname
=========================
bungle, sales
Rod, hr
NoDept,
Jane, hr
George, hr
Freddy, sales
[Updated on: Mon, 20 November 2006 02:04]
Report message to a moderator