Re: Was: Triggers, Stored Procedures, PHP - Mailing list pgsql-general

From Doug McNaught
Subject Re: Was: Triggers, Stored Procedures, PHP
Date
Msg-id 87brquy1p4.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to Re: Was: Triggers, Stored Procedures, PHP  (Shane D <shane.dawalt@wright.edu>)
List 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 by date:

Previous
From: Shane D
Date:
Subject: Re: Was: Triggers, Stored Procedures, PHP
Next
From: CSN
Date:
Subject: permission errors for set authority and schema public