Re: Fw: Is SQL silly as an RDBMS<->app interface?

From: "Vincent Hikida" <vhikida(at)inreach(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fw: Is SQL silly as an RDBMS<->app interface?
Date: 2003-07-25 01:10:32
Message-ID: 027401c35249$8c21a010$210110ac@HOMEOFFICE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


----- Original Message -----
From: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "elein" <elein(at)varlena(dot)com>
Cc: "Jan Wieck" <JanWieck(at)Yahoo(dot)com>; "Vincent Hikida"
<vhikida(at)inreach(dot)com>; <pgsql-general(at)postgresql(dot)org>
Sent: Thursday, July 24, 2003 5:35 PM
Subject: Re: Fw: [GENERAL] Is SQL silly as an RDBMS<->app interface?

>
> Yes, it was more powerful because you could do aggregates in the query
> independent of the results returned by the query.
>
> The 'by' feature of aggregates always confused me because it would
> modify the aggregate WHERE clause (that was independent of the outer
> query) and restrict the aggregate to only process rows where the outer
> query's column value matched the same column's value in the aggregate.
>

Actually, I used a hierarchical/relational DBMS called Nomad in 1981. If I
understand Bruce, Nomad could do the same thing. I could aggregate at
different levels in the same query. Each aggregate created a break and I
could add whatever code I wanted at the level. I could also refer to any
level of aggregate in the rest of the query. I could also refer to any level
aggregate in the rest of the code. This meant that I could for example
calculate what percentage of the total the individual row was. The only
problem was that I could only join two tables at a time so if I wanted to
join several tables I had to have several statements. Each statement created
an intermediate table which was easy to refer to in subsequent statements.

Vincent

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-07-25 01:22:14 Re: Fw: Is SQL silly as an RDBMS<->app interface?
Previous Message Bruce Momjian 2003-07-25 00:35:16 Re: Fw: Is SQL silly as an RDBMS<->app interface?