On 30/06/2011 9:00 PM, Linos wrote:
how could i calculate this pending column that does not exists in the
database and i need to be based on last result row? I would like to
get with raw SQL but the need to use any procedural language would not
be a problem.
Without knowing how you've structured your data in the database, that's
pretty much impossible to answer.
What are your table definitions?
What does your raw data currently look like? Show some example rows.
--
Craig Ringer
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general