pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cronje Fourie <cfourie@e-intelligence.com>
To: pgsql-sql@postgresql.org
Subject: TPCH Benchmark query result invalid
Date: Tue, 12 Dec 2006 16:09:22 +0200
Message-ID: <1165932562.10968.1.camel@localhost> (raw)

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.




view thread (5+ messages)  latest in thread

Message-ID: <1165932562.10968.1.camel@localhost>
Permalink:  ../1165932562.10968.1.camel@localhost/
Also on:    postgresql.org/message-id/1165932562.10968.1.camel@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: cfourie@e-intelligence.com
  Subject: Re: TPCH Benchmark query result invalid
  In-Reply-To: <1165932562.10968.1.camel@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox