Question on Select

From: Alex <alex(at)meerkatsoft(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Question on Select
Date: 2003-11-09 15:06:12
Message-ID: 3FAE57E4.6040106@meerkatsoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I have two tables,
Table A: item_id
Table B: item_id, ref_code
and i want to list all ref_codes in table B that are not referenced by
Table A.
Table A has about 3million records./ table B 200

What is the best way to do that ?

Thanks
Alex

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Chapman 2003-11-09 18:26:51 Re: SQL-question: returning the id of an insert querry
Previous Message Andreas Fromm 2003-11-09 13:37:52 Re: SQL-question: returning the id of an insert querry