table inheritance

Поиск
Список
Период
Сортировка
От Shuying Wang
Тема table inheritance
Дата
Msg-id bbf221f60602212139k3e927cf1o732d0478d27a5ade@mail.gmail.com
обсуждение исходный текст
Ответы Re: table inheritance  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-novice
Hi,

I've got table x and table y which inherits table x. I want to get
items from table x which are not in table y. According to the
PostgreSQL documentation, the syntax would be "select * FROM ONLY x"
however this yields no rows, whereas something like "select * from x
where id not in (select id from y) " gives me what I want. Could
someone explain to me what I'm doing wrong using ONLY?

Thanks in advance,
Shuying

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: find a record in range of a number
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: table inheritance