Re: Firebird and PostgreSQL at the DB Corral.

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Firebird and PostgreSQL at the DB Corral.
Date: 2003-12-21 22:09:06
Message-ID: bs55m2$nkh$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paul Ganainm schrieb:
>>>>SELECT count(*) FROM (SELECT col1, col2 FROM table)
>
> OK, so that's what you call an "inline view" is it?

Yep :-)

> What then is a derived table, or is a derived table just a synonym for
> inline view?

I'm not sure what the "official" name for this is. I have heard both. So
from my point of view a derived table and an inline view are the same.

> What's wrong with SELECT COUNT(col1) FROM table?
>
Nothing. But my statement was just an example to show the syntax.

But sometimes when things get more complicated it *is* very handy, and I
have used it now and then, and wouldn't want to miss it :-)

Thomas

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2003-12-21 22:09:54 Re: PostgreSQL speakers needed for OSCON 2004
Previous Message Paul Ganainm 2003-12-21 20:58:37 Re: Firebird and PostgreSQL at the DB Corral.