pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cristi <cristi@dmhi.ct.ro>
To: pgsql-sql@postgresql.org
Subject: sql
Date: Mon, 9 Dec 2002 12:40:55 +0200
Message-ID: <008501c29f6f$74aee380$7201a8c0@aaa> (raw)

I have 3 tables.

table_a
marca
15145
1455
1333

table_b
data
11-01-2002
11-02-2002

table_c
marca    data
15145    11-01-2002
15145    11-02-2002
1455      11-01-2002
1333      11-01-2002
1333      11-02-2002

After interogation of the tables I need this kind of result:

marca    data
1455     11-02-2002

(I want to receive the records which are a combitation of fields of table_a and table_b and that are not in the table_c)

How can I do that?

Thanks!

view thread (20+ messages)  latest in thread

Message-ID: <008501c29f6f$74aee380$7201a8c0@aaa>
Permalink:  ../008501c29f6f$74aee380$7201a8c0@aaa/
Also on:    postgresql.org/message-id/008501c29f6f$74aee380$7201a8c0@aaa

 · 

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: cristi@dmhi.ct.ro
  Subject: Re: sql
  In-Reply-To: <008501c29f6f$74aee380$7201a8c0@aaa>

* 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