Re: Combine query views into one SQL string

Поиск
Список
Период
Сортировка
От Tony Hunt
Тема Re: Combine query views into one SQL string
Дата
Msg-id Q7Fm7.27464$bY5.154264@news-server.bigpond.net.au
обсуждение исходный текст
Ответ на Re: Combine query views into one SQL string  ("Maik" <K.Maik@web.de>)
Список pgsql-sql
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




В списке pgsql-sql по дате отправления:

Предыдущее
От: "Jeff Eckermann"
Дата:
Сообщение: Re: How do I extract ONE particular field, when multiple table contain the same field name?
Следующее
От: "Gledatelj"
Дата:
Сообщение: Re: Combine query views into one SQL string