Re: Outer join differences
От | Christopher Kings-Lynne |
---|---|
Тема | Re: Outer join differences |
Дата | |
Msg-id | GNELIHDDFBOCMGBFGEFOIEGPCDAA.chriskl@familyhealth.com.au обсуждение исходный текст |
Ответ на | Re: Outer join differences (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
Список | pgsql-hackers |
> > When I run the query "select yt1_name, yt1_descr, yt2_name, > yt2_descr from > > yuva_test1 left outer join yuva_test2 on yt1_id=yt2_id and yt2_name = > > '2-name2'" on postgres database I get the following results Probaly if you change your postgres query to this, it will give the same answer as Oracle: select yt1_name, yt1_descr, yt2_name, yt2_descr from yuva_test1 left outer join yuva_test2 on yt1_id=yt2_id where yt2_name = '2-name2'; ?? Chris > > But when I tried the same on Oracle(8.1.7) (the query is > "select yt1_name, > > yt1_descr, yt2_name, yt2_descr from yuva_test1, yuva_test2 where > > yt1_id=yt2_id(+) and yt2_name = '2-name2'') I get the following result And maybe if you change the oracle query to this, it will give the same answer as postgres: select yt1_name, yt1_descr, yt2_name, yt2_descr from yuva_test1, yuva_test2 where yt1_id=yt2_id(+) and yt2_name = '2-name2'(+); Just guessing tho. Chris
В списке pgsql-hackers по дате отправления: