Re: Combine query views into one SQL string

From: "Tony Hunt" <tonster(at)bigpond(dot)net(dot)au>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Combine query views into one SQL string
Date: 2001-09-09 07:46:56
Message-ID: Q7Fm7.27464$bY5.154264@news-server.bigpond.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

"Nils Zonneveld" <nils(at)mbit(dot)nl> wrote in message
news:3B988C82(dot)9C4782E4(at)mbit(dot)nl(dot)(dot)(dot)
>
>
> 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2001-09-09 20:03:07 Re: optimizing queries and indexes...
Previous Message postgresql 2001-09-09 03:12:45 Re: