How do I select composite array element that satisfy specific conditions.

Поиск
Список
Период
Сортировка
От a
Тема How do I select composite array element that satisfy specific conditions.
Дата
Msg-id tencent_56F57B4C4E55B65B7DE43183@qq.com
обсуждение исходный текст
Ответы RE: How do I select composite array element that satisfy specific conditions.  ("Charles Clavadetscher" <clavadetscher@swisspug.org>)
Re: How do I select composite array element that satisfy specific conditions.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hi, say if I have composite type and table 

create type A as(
     x float8,
     y float8
);

create table B(
     Ay A[]
);

insert into B
values(array[
     (1,2)::A,
     (3,4)::A]
);

How could I select the element of Ay that satisfy x=3??

Thank you so much!!

Shore

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

Предыдущее
От: tango ward
Дата:
Сообщение: Insert data if it is not existing
Следующее
От: Steven Winfield
Дата:
Сообщение: RE: Insert data if it is not existing