pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pierre@desertmoon.com
To: pgsql-sql@postgreSQL.org
Subject: Quickie
Date: Mon, 8 Feb 1999 14:57:22 -0700 (MST)
Message-ID: <19990208215723.11594.qmail@desertmoon.com> (raw)

Hi all...here is a quickie for ya:

Given:
User_Email|User_ID
-------------------
fubar     | 1
barfu     | 2
snafu     | 3
Fubar     | 4

What query could I use to return ONLY 'fubar' and 'Fubar'? Would I do a self
join? The problem is that I'd forgotten to force everything to lowercase upon
insertion, and now I need to clean out the uppercase records and/or convert them
to lowercase.

Ideas?

-=pierre



view thread (3+ messages)  latest in thread

Message-ID: <19990208215723.11594.qmail@desertmoon.com>
Permalink:  ../19990208215723.11594.qmail@desertmoon.com/
Also on:    postgresql.org/message-id/19990208215723.11594.qmail@desertmoon.com

 · 

reply

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: pierre@desertmoon.com
  Subject: Re: Quickie
  In-Reply-To: <19990208215723.11594.qmail@desertmoon.com>
  References: <19990208215723.11594.qmail@desertmoon.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