pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tony Hunt <tonster@bigpond.net.au>
To: pgsql-sql@postgresql.org
Subject: Re: Combine query views into one SQL string
Date: Sun, 09 Sep 2001 07:46:56 GMT
Message-ID: <Q7Fm7.27464$bY5.154264@news-server.bigpond.net.au> (raw)
References: <63e57aa8.0109060835.33719290@posting.google.com>
	<3B97DC1F.94433F65@mbit.nl>
	<9na15r$ku4$1@narses.hrz.tu-chemnitz.de>
	<3B988C82.9C4782E4@mbit.nl>

I don't get it?  What's the difference between an inner-join and an
equijoin?

"Nils Zonneveld" <nils@mbit.nl> wrote in message
news:3B988C82.9C4782E4@mbit.nl...
>
>
> Maik wrote:
> >
> > Its clear, union concat the two results.
> >
> > But he can also use this join version, if its the intention.
> >
> > select t1.id, sum(t1.amount), t2.id, sum(t2.amount) from table1 as t1,
> > table2 as t2 where t1.id=t2.id;
> >
>
> Yeps, thats another way to write an inner join :-)
>
> Mazzel,
>
> Nils
>
> --
> Alles van waarde is weerloos
> Lucebert





view thread (7+ messages)  latest in thread

Message-ID: <Q7Fm7.27464$bY5.154264@news-server.bigpond.net.au>
Permalink:  ../Q7Fm7.27464$bY5.154264@news-server.bigpond.net.au/
Also on:    postgresql.org/message-id/Q7Fm7.27464$bY5.154264@news-server.bigpond.net.au

 · 

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: tonster@bigpond.net.au
  Subject: Re: Combine query views into one SQL string
  In-Reply-To: <Q7Fm7.27464$bY5.154264@news-server.bigpond.net.au>

* 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