pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian C. Doyle <bcdoyle@mindspring.com>
To: pgsql-sql@postgresql.org
Subject: Query Help
Date: Wed, 27 Dec 2000 11:20:53 -0500
Message-ID: <5.0.2.1.2.20001227111807.074dd2d0@pop.mindspring.com> (raw)

What do I have to do a query where information in table1 is not in table2

I am looking for something like

Select table1.firstname where table1.firstname is not in table2.firstname 
and table2.date='yesterday'

I tried
Select table1.firstname where table1.firstname != table2.firstname and 
table2.date='yesterday'

and that did not work just listed everyone....






view thread (8+ messages)  latest in thread

Message-ID: <5.0.2.1.2.20001227111807.074dd2d0@pop.mindspring.com>
Permalink:  ../5.0.2.1.2.20001227111807.074dd2d0@pop.mindspring.com/
Also on:    postgresql.org/message-id/5.0.2.1.2.20001227111807.074dd2d0@pop.mindspring.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bcdoyle@mindspring.com
  Subject: Re: Query Help
  In-Reply-To: <5.0.2.1.2.20001227111807.074dd2d0@pop.mindspring.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