Re: Firebird and PostgreSQL at the DB Corral. - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Firebird and PostgreSQL at the DB Corral.
Date
Msg-id bs55m2$nkh$1@sea.gmane.org
Whole thread Raw
In response to Re: Firebird and PostgreSQL at the DB Corral.  (Paul Ganainm <paulsnewsgroups@hotmail.com>)
List 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


pgsql-general by date:

Previous
From: Paul Ganainm
Date:
Subject: Re: Firebird and PostgreSQL at the DB Corral.
Next
From: Paul Ganainm
Date:
Subject: Re: Firebird and PostgreSQL at the DB Corral.