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: How do I do this queyr?
Date: Thu, 25 Feb 1999 13:41:43 -0700 (MST)
Message-ID: <19990225204143.16870.qmail@desertmoon.com> (raw)

All,
  Given a table of keywords. How would  I grab the distinct id's that have
  both keywords attached to it. Example:

  ID  | Keyword
  -------------
  1   | abc
  2   | abc
  3   | def
  1   | def

  We want all the id's that have BOTH abc AND def as keywords. I think I may
  be having a brain freeze here...it seems obvious but I just can't seem
  to get my brain to spit up the answer. :( Too much caffiene?

  Thanks for the help!

  -=pierre



view thread (2+ messages)  latest in thread

Message-ID: <19990225204143.16870.qmail@desertmoon.com>
Permalink:  ../19990225204143.16870.qmail@desertmoon.com/
Also on:    postgresql.org/message-id/19990225204143.16870.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: How do I do this queyr?
  In-Reply-To: <19990225204143.16870.qmail@desertmoon.com>
  References: <19990225204143.16870.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