How would I write this query... - Mailing list pgsql-general

From Jim Fitzgerald
Subject How would I write this query...
Date
Msg-id e32vqu$313i$1@news.hub.org
Whole thread Raw
Responses Re: How would I write this query...  (Michael Glaesemann <grzm@seespotcode.net>)
Re: How would I write this query...  (Ragnar <gnari@hive.is>)
List pgsql-general
Hi -

  I have two tables, one of them has names of people and an associated
integer ID.  The other table is a list of the people (from the first table)
by their ID number that have signed up for a class.  How would I write a
query that would list all the people from the first table that do not have
any entries in the second table?   Basically, I want a listing of all my
people who have not signed up for the class.

Thanks!
-Jim



pgsql-general by date:

Previous
From: "chris smith"
Date:
Subject: Re: Authentication & connection problems
Next
From: "Jim Fitzgerald"
Date:
Subject: Re: Select / sub select? query... help...