Re: subquery abnormal behavior

Поиск
Список
Период
Сортировка
От Shoaib Mir
Тема Re: subquery abnormal behavior
Дата
Msg-id bf54be870612102257l6ac34c94t568b228741c657f6@mail.gmail.com
обсуждение исходный текст
Ответ на subquery abnormal behavior  ("Shoaib Mir" <shoaibmir@gmail.com>)
Список pgsql-sql
I just noticed the same behavior in Oracle and SQL Server as well :)

Regards,
---------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, Shoaib Mir <shoaibmir@gmail.com> wrote:
I just noticed an abnormal behavior for the subquery:

create table myt1 (a numeric);
create table myt2 (b numeric);

select a from myt1 where a in (select a from myt2);

This should be giving an error that column 'a' does not exist in myt2 but it runs with any error...

I had been trying it on 8.2!

Can someone please comment?

Thank you,
-------------
Shoaib Mir
EnterpriseDB ( www.enterprisedb.com)

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: subquery abnormal behavior
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: subquery abnormal behavior