From: | Shaun Thomas <sthomas(at)townnews(dot)com> |
---|---|
To: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
Cc: | Varun Kacholia <varunk(at)cse(dot)iitb(dot)ac(dot)in>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Highly obscure and erratic |
Date: | 2002-06-19 14:39:42 |
Message-ID: | Pine.LNX.4.44.0206190937490.16252-100000@hamster.lee.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, 18 Jun 2002, Stephan Szabo wrote:
> select dbmedia.* from dbmedia, wdmedia where wdmedia.word='whatever' and
> dbmedia.id=wdmedia.id;
I think all of us suggesting EXISTS in the case of this query were
complete tards, me included. Looks like a simple join will suffice
nicely, and now that I look at it, I wonder why you're the first one to
see it. Good job!
But that'll definitely help. Varun, if you're listening, use this!
--
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Shaun M. Thomas INN Database Administrator |
| Phone: (309) 743-0812 Fax : (309) 743-0830 |
| Email: sthomas(at)townnews(dot)com AIM : trifthen |
| Web : www.townnews.com |
| |
| "Most of our lives are about proving something, either to |
| ourselves or to someone else." |
| -- Anonymous |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
From | Date | Subject | |
---|---|---|---|
Next Message | Roderick A. Anderson | 2002-06-19 14:54:55 | Re: Pg 7.2B5 -> 7.2.1 |
Previous Message | Shaun Thomas | 2002-06-19 14:35:57 | Re: Highly obscure and erratic |