Re: [GENERAL] question on views...

From: Lorenzo Huerta <lorenzo(at)nmsu(dot)edu>
To: Ulf Mehlig <umehlig(at)uni-bremen(dot)de>
Cc: lorhuerta(at)yahoo(dot)com, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] question on views...
Date: 1998-10-30 08:34:03
Message-ID: Pine.SOL.3.96.981030013254.27098B-100000@wilma
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 30 Oct 1998, Ulf Mehlig wrote:

> Date: Fri, 30 Oct 1998 08:04:57 +0100
> From: Ulf Mehlig <umehlig(at)uni-bremen(dot)de>
> To: lorhuerta(at)yahoo(dot)com
> Cc: pgsql-general(at)postgreSQL(dot)org, lorenzo(at)nmsu(dot)edu
> Subject: Re: [GENERAL] question on views...
>
> Lorenzo Huerta <lorhuerta(at)yahoo(dot)com> wrote:
>
> > In postgres when you create a view can you give that view a
> > specific range of your table to be displayed and thats it, i assume
> > giving a specified number of columns will work but i don't know
> > about the data range.
>
> Do you mean something like
>
> create view x
> as select ccc, ddd
> from y
> where ccc between 4711 and 2001
actually you can try having this statement:
where ccc > 2001 and ccc < 4711

>
> (with ccc beeing a numeric type)?
>
> Ulf
>
> --
> ======================================================================
> %%%%% Ulf Mehlig <ulf(dot)mehlig(at)uni-bremen(dot)de>
> %%%%!%%% Projekt "MADAM" <umehlig(at)uni-bremen(dot)de>
> %%%% %!% %%%% ----------------------------------------------------
> ---| %%% MADAM: MAngrove | Center for Tropical Marine
> ||--%!% Dynamics | Biology
> || And | Fahrenheitstrasse 1
> _ /||\_/\_ Management |
> / / \ \ ~~~~~~~~~~~~~~~~~ | 28359 Bremen/Germany
> ~~~~~~~~~~~~~~~~~~~~
>

Thanks,

__________________________________________________________________
* Lorenzo J. Huerta *
* Programming Assistant *
* Computing & Networking Networking Architecture and Operations *
* New Mexico State University *
* phone: (w)(505)646-2582 (h)(505) 521-8699 fax:(505) 646-8139 *
* e-mail: lorenzo(at)nmsu(dot)edu *
* Web Site: http://web.nmsu.edu/~ljhuerta *
__________________________________________________________________

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Memphisto 1998-10-30 15:42:49 Problem with aggregates and group by
Previous Message Ulf Mehlig 1998-10-30 07:10:28 Re: [GENERAL] question on views...