| From: | Michael Meskes <meskes(at)topsystem(dot)de> |
|---|---|
| To: | vadim(at)sable(dot)krasnoyarsk(dot)su (Vadim B(dot) Mikheev) |
| Cc: | pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker) |
| Subject: | Re: [HACKERS] Subselects are in CVS... |
| Date: | 1998-02-13 13:53:29 |
| Message-ID: | 199802131353.OAA21354@gauss.topsystem.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Vadim B. Mikheev writes:
> 5. I need in advice: if subquery introduced with NOT IN doesn't return
> any tuples then qualification is failed, yes ?
Do you mean something like this:
select * from table1 where x not in (select x from table2)
table1.x: a,b
table2.x is empty
The correct answer IMO is 'a,b' in this case.
Michael
--
Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH
meskes(at)topsystem(dot)de | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org | 52146 Wuerselen
Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas G. Lockhart | 1998-02-13 14:02:31 | Re: [HACKERS] reserved words.. |
| Previous Message | Vadim B. Mikheev | 1998-02-13 13:50:50 | Subselects are in CVS... |