problems with this wiew

From: Manuel Trujillo <manueltrujillo(at)dorna(dot)es>
To: pgsql-sql(at)postgresql(dot)org
Subject: problems with this wiew
Date: 2001-12-04 11:10:47
Message-ID: 20011204111047.GA10294@dorna.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi.

I've got a problem with this "wiew":

select gallery_id, multimedia_id
from (view_multimedia_file A
inner join ( select gallery_id,
multimedia_id,
element_type_id,
result_type_id,
subevent_id,
subevent_type_id,
event_id,
championship_id,
championship_type_id,
season_id,
c_language_id as language_id

from ( view_gallery B
inner join ( select gallery_id as c_gallery_id,
result_type_id,
subevent_id,
subevent_type_id,
event_id,
championship_id,
championship_type_id,
season_id,
language_id as c_language_id
from view_gallery_result_type
) C
on (B.gallery_id = C.c_gallery_id)
) D

) E

on ( (A.mm_id = E.multimedia_id)
)

);

select *
from (view_multimedia_file A
inner join ( select gallery_id,
multimedia_id,
element_type_id,
result_type_id,
subevent_id,
subevent_type_id,
event_id,
championship_id,
championship_type_id,
season_id,
c_language_id as language_id

from ( view_gallery B
inner join ( select gallery_id as c_gallery_id,
result_type_id,
subevent_id,
subevent_type_id,
event_id,
championship_id,
championship_type_id,
season_id,
language_id as c_language_id
from view_gallery_result_type
) C
on (B.gallery_id = C.c_gallery_id)
) D

) E

on ( (A.mm_id = E.multimedia_id)
)

);

The postgresql show error.
Anybody can help me, please??

Thank you very much.

Have a nice day ;-)
TooManySecrets

--
Manuel Trujillo manueltrujillo(at)dorna(dot)es
Technical Engineer http://www.motograndprix.com
Dorna Sports S.L. +34 93 4702864

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message James Thornton 2001-12-04 11:57:42 Re: update returns 1, but no changes have been made
Previous Message Arian Prins 2001-12-04 08:54:43 Re: Need help with a college SQL exam question...