Re: [SQL] Expression with aggregate

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] Expression with aggregate
Дата
Msg-id 199908240424.AAA16390@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Expression with aggregate  (Scott Barron <kain224@yahoo.com>)
Список 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@tph.tuwien.ac.at>
> >
> ---------------------------------------------------------------------------
> > 
> > ************
> > 
> > 
> 
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
> 
> 
> ************
> 
> 


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


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

Предыдущее
От: Scott Barron
Дата:
Сообщение: Re: [SQL] Expression with aggregate
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] Question about comments