Re: PostgreSQL select

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: PostgreSQL select
Дата
Msg-id 1121505409.30587.24.camel@Andrea.peacock.de
обсуждение исходный текст
Ответ на PostgreSQL select  (Jiří Němec <konference@menea.cz>)
Список pgsql-general
Am Samstag, den 16.07.2005, 09:19 +0200 schrieb Jiří Němec:
> Hello,
>
> There's a problem with PostgreSQL 8.0.3 SELECT. All tables exist, all
> columns exist, I have no idea where's the problem :/ PostgreSQL
> reports this error: ERROR:  relation "fieldx" does not exist...
>
> SELECT fieldx.field_id, COUNT(optionx.option_id) AS field_options
> FROM c_custom_fields AS fieldx, j_product_groups_fields AS join_table
> LEFT JOIN c_custom_fields_options AS optionx ON optionx.field_id = fieldx.field_id
> WHERE fieldx.field_id = join_table.field_id AND join_table.group_id = 10
> GROUP BY fieldx.field_id
> ORDER BY fieldx.field_id
>
> Any clues?

May we see \dt please?
I'm pretty sure fieldx does not exist. Maybe you have "FieldX" or
something instead?


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: PostgreSQL select
Следующее
От: Mark Morgan Lloyd
Дата:
Сообщение: Re: Nulls in timestamps