From: Brice Ruth <brice@webprojkt.com>
To: David Olbersen <dave@slickness.org>
Subject: Re: SQL Join - MySQL/PostgreSQL difference?
Date: Tue, 06 Feb 2001 10:01:35 -0600
Message-ID: <3A801FDE.E82A41B2@webprojkt.com> (raw)
References: <Pine.LNX.4.31.0102051612080.22396-100000@bubbles.electricutopia.net>
David,
About the case-sensitivity, I was under the impression that PostgreSQL
was case-insensitive unless things were explicitly put in quotes. This
is at least what I read in the book ...
-Brice
David Olbersen wrote:
>
> On Thu, 1 Feb 2001, Brice Ruth wrote:
>
> ->SELECT
> -> a.Number,
> -> a.Code,
> -> a.Text
> ->FROM
> -> b,
> -> a
> ->WHERE
> -> (b.Id = a.Id) AND
>
> These next two statements are very ambiguous. Make them explicit as you have
> with "(b.Id = a.Id)" and "(b.d_Id = 'key3')"
>
> Also, be sure that 'key3' is how what you want looks in the database
>
> -> (VersionId = 'key1') AND
> -> (Category = 'key2') AND
> -> (b.d_Id = 'key3')
> ->ORDER BY
> -> a.Number;
>
> Also, make sure ( '\d b' ) that your columns are case-sensatively named 'Id' and
> such as this does matter.
>
> -- Dave
--
Brice Ruth
WebProjkt, Inc.
VP, Director of Internet Technology
http://www.webprojkt.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: brice@webprojkt.com, dave@slickness.org
Subject: Re: SQL Join - MySQL/PostgreSQL difference?
In-Reply-To: <3A801FDE.E82A41B2@webprojkt.com>
References: <Pine.LNX.4.31.0102051612080.22396-100000@bubbles.electricutopia.net> <3A801FDE.E82A41B2@webprojkt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox