🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11034

Re: EXISTS in a WHERE clause

#11034
From: Bojidar Alexandrov
Date: Fri, 27 Dec 2002 09:15
14 lines
1260 bytes
Edward Diener wrote:
> Can EXISTS using a subquery be part of other conditions in a WHERE
> clause so that one can say:
>
> select * from X where a = avalue and b = bvalue and exists ( select *
> from X where c = cvalue )

yes, this is its purpose


--
Bojidar Alexanrov
Kodar Ltd.
http://www.Kodar.net
Technical Details
Message-ID: <3e0c1a1b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3e0bbfc5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,f262d523826f03d3
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-27 01:18:13 PST
From: "Bojidar Alexandrov" <bojo@kodar.net>
Newsgroups: borland.public.interbase.sql
References: <3e0bbfc5$1@newsgroups.borland.com>
Subject: Re: EXISTS in a WHERE clause
Date: Fri, 27 Dec 2002 11:15:05 +0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4920.2300
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300
NNTP-Posting-Host: 213.169.35.65
Message-ID: <3e0c1a1b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1040980507 213.169.35.65 (27 Dec 2002 01:15:07 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail