Re: [SQL] Expression with aggregate

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Scott Barron <kain224(at)yahoo(dot)com>
Cc: Albert REINER <areiner(at)tph(dot)tuwien(dot)ac(dot)at>, PostgreSQL-SQL <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] Expression with aggregate
Date: 1999-08-24 04:24:28
Message-ID: 199908240424.AAA16390@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> That should provide the desired results. As for the
> question about the view in the \d output, I don't know
> why its like that, I've wondered myself.

I think it is view? because it could be a view, or a rule?

> >
> > By the way, when I use \d to list the tables, why is
> > a view always
> > shown with a '?' like in
> >
> > asdf=> \d
> > Database = asdf
> >
> >
> +------------------+----------------------------------+----------+
> > | Owner | Relation
> > | Type |
> >
> >
> +------------------+----------------------------------+----------+
> > | albert | a
> > | table |
> > | albert | b
> > | table |
> > | albert | c
> > | view? |
> >
> >
> +------------------+----------------------------------+----------+
> >
> > ? Why doesn't it just say '| albert | c | view |'?
> >
> > I'd really appreciate any hints with this, even
> > though I know how to
> > do it (as demonstrated above) with the use of the
> > view.
> >
> > Thanks in advance for your help,
> >
> > Albert.
> >
> > --
> >
> >
> ---------------------------------------------------------------------------
> > Post an / Mail to / Skribu al: Albert Reiner
> > <areiner(at)tph(dot)tuwien(dot)ac(dot)at>
> >
> ---------------------------------------------------------------------------
> >
> > ************
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
>
> ************
>
>

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stanley Morgan 1999-08-24 05:34:47 bytea
Previous Message Bruce Momjian 1999-08-24 04:07:52 Re: [SQL] Question about comments