Re: Was: Triggers, Stored Procedures, PHP

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Was: Triggers, Stored Procedures, PHP
Дата
Msg-id 87brquy1p4.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Re: Was: Triggers, Stored Procedures, PHP  (Shane D <shane.dawalt@wright.edu>)
Список pgsql-general
Shane D <shane.dawalt@wright.edu> writes:

>    But what if the films table also had a field for the production
> company.  This implies based on the view definition that it too, has
> the field (call it prod_co).  Could I use the following query to
> select all Comedy films distributed by the 'Small Company' production
> company?
>
> SELECT * FROM kinds WHERE prod_co = 'Small Company';

Sure, as long as the column is part of the view, you can use it to
constrain the SELECT.

-Doug

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

Предыдущее
От: Shane D
Дата:
Сообщение: Re: Was: Triggers, Stored Procedures, PHP
Следующее
От: CSN
Дата:
Сообщение: permission errors for set authority and schema public