pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fernando Carvalho <carvalho@inet.classea.com.br>
To: Mauricio Carvalho de Oliveira <carvalho@dt.fee.unicamp.br>
Cc: pgsql-sql@hub.org
Subject: [SQL] Relations
Date: Sat, 6 Mar 1999 10:32:29 +0000 (GMT)
Message-ID: <Pine.LNX.3.96.990306102522.521F-100000@localhost> (raw)
In-Reply-To: <36D1B4C6.9F388890@dt.fee.unicamp.br>


  I'm novice in postgresSQL. 
  How do you have a relations with two tables?

  Table 1 ->       cod               int 4             index
                   descrition        varchar(30)
                   price             init 4

  Table 2 ->       order             varchar(8)
                   cod               int 4
                   quant             ini 4
                   

  I'm a expected one select with result:

              
              order  |  descrition | quant | price | total(price * quant)








Message-ID: <Pine.LNX.3.96.990306102522.521F-100000@localhost>
Permalink:  ../Pine.LNX.3.96.990306102522.521F-100000@localhost/
Also on:    postgresql.org/message-id/Pine.LNX.3.96.990306102522.521F-100000@localhost

 · 

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: carvalho@inet.classea.com.br, carvalho@dt.fee.unicamp.br, pgsql-sql@hub.org
  Subject: Re: [SQL] Relations
  In-Reply-To: <Pine.LNX.3.96.990306102522.521F-100000@localhost>
  References: <36D1B4C6.9F388890@dt.fee.unicamp.br> <Pine.LNX.3.96.990306102522.521F-100000@localhost>

* 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