Re: iceberg queries

From: "Wei Weng" <wweng(at)kencast(dot)com>
To: "Christoph Haller" <ch(at)rodos(dot)fzk(dot)de>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: iceberg queries
Date: 2003-02-04 14:08:56
Message-ID: 002101c2cc56$f5112330$2f437242@PASCAL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

It is a query that looks like

SELECT target1, target2... targetn, SUN(t.qty)
FROM Table t
GROUP BY target1
HAVING SUM(t.qty)>=10

You can replace SUM(t.qty)>=10 with other aggregate constraints.

----- Original Message -----
From: Christoph Haller
To: pgsql-sql(at)postgresql(dot)org
Cc: wweng(at)kencast(dot)com
Sent: Tuesday, February 04, 2003 3:39 AM
Subject: Re: [SQL] iceberg queries

>
> Does PostgreSQL optimizer handle iceberg queries well?
>
What do you mean by "iceberg query" ?
I've never heard this term.

Regards, Christoph

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Wolff III 2003-02-04 15:50:13 Re: iceberg queries
Previous Message Bruce Momjian 2003-02-04 10:58:55 Re: SQL99/SQL92 Grammar