TPCH Benchmark query result invalid

From: Cronje Fourie <cfourie(at)e-intelligence(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: TPCH Benchmark query result invalid
Date: 2006-12-12 14:09:22
Message-ID: 1165932562.10968.1.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

When running the following query against a TPCH db I get 0 results
returned

select
o_orderpriority,
count(*) as order_count
from
orders
where
o_orderdate >= date '1993-07-01'
and o_orderdate < date '1993-07-01' + interval '3' month
and exists (
select
*
from
lineitem
where
l_orderkey = o_orderkey
and l_commitdate < l_receiptdate
)
group by
o_orderpriority
order by
o_orderpriority;

The same query runs correctly under mysql. Has anyone expierenced this
before?

Cronje

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2006-12-12 15:05:31 Re: TPCH Benchmark query result invalid
Previous Message Marcin Stępnicki 2006-12-12 09:08:15 Finding gaps in scheduled events