Re: SQL equivalent to nested loop

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: SQL equivalent to nested loop
Дата
Msg-id 1118099812.7415.2.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: SQL equivalent to nested loop  (KÖPFERL Robert <robert.koepferl@sonorys.at>)
Список pgsql-sql
Dnia 06-06-2005, pon o godzinie 20:08 +0200, KÖPFERL Robert napisał(a):
> This is basicly a Join, a cross table
>
> i.e.
>
> select b.w from  table a, table b where ...

You'd hope that. The problem is that you don't have the tables and
afterwards specify the join condition, but in specifying the tables
(=calling the function) you have the join condition already. I can't
figure out the right syntax. What are you proposing?

SELECT * from f(4, 'foo') as b, f(b.int, 'bar')?

oocms=# select * from object_get_list_of_reference_property(311,
'Themen') as b, object_get_list_of_reference_property(b.object_id,
'Objekte');
ERROR:  ?????????????? ????????? ??
FROM ?? ????? ????????? ?? ?????? ????????? ?? ??? ?? ?????? ???????

I can't get an english error message atm :/, but that doesn't work.

Markus

--
Markus Bertheau <twanger@bluetwanger.de>

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

Предыдущее
От: KÖPFERL Robert
Дата:
Сообщение: Re: SQL equivalent to nested loop
Следующее
От: "ON.KG"
Дата:
Сообщение: Re: What is faster?