Re: Query should have failed, but didn't?

Поиск
Список
Период
Сортировка
От Royce Ausburn
Тема Re: Query should have failed, but didn't?
Дата
Msg-id 96DA9C47-C2A9-46B8-AE46-AFC84958E835@inomial.com
обсуждение исходный текст
Ответ на Re: Query should have failed, but didn't?  (Andy Colson <andy@squeakycode.net>)
Список pgsql-general
On 02/03/2011, at 2:16 PM, Andy Colson wrote:

> Its getting id1 from the parent table.  (test2)   You can use fields from the parent table in subselects.
>
> try this and it'll complain:
>
> select * from test2 where id1 in (select junk from test1) and charge=70;

Oh!  Of course!  What a fool.  Thanks =)

--Royce



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

Предыдущее
От: "David Johnston"
Дата:
Сообщение: Re: Query should have failed, but didn't?
Следующее
От: Michał Koba
Дата:
Сообщение: Comparing md5 hash with md5 password hash