Multiple querys

From: "x asasaxax" <xanaruto(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Multiple querys
Date: 2008-09-29 18:19:04
Message-ID: 91495cb0809291119p64e62831v93e7f95b8b860ceb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi everyone,

I have multiple query´s, and i´m trying to optimize my queries by
creating a temporary table x(contains the field id_product).

The queries that utilize the temp table x, must use the order of the rows at
x.
My problem: I have a query that do a limit and offset on table x. I would
like to this query obey the order of x.

I thought these solution: create a field order_id_product, to use order by
order_id_product on other queries.

Can anyone help me?

Thanks a lot.

Browse pgsql-general by date

  From Date Subject
Next Message Gregory S. Youngblood 2008-09-29 18:19:27 Announcing PostgreSQL Certification Project Job Task Analysis Survey
Previous Message r_musta 2008-09-29 18:12:26 Counting unique rows as an aggregate.