Re: Substring Problem

From: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
To: pgsql-general(at)postgresql(dot)org
Cc: Tino Wildenhain <tino(at)wildenhain(dot)de>
Subject: Re: Substring Problem
Date: 2008-05-14 04:33:40
Message-ID: 1B2D0160-C72D-49B1-8A36-1406623B7A36@grid.unep.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> COUNT(id) AS countofnumber FROM (SELECT * from downloads ) AS foo
>> GROUP BY stryearmonth ORDER BY stryearmonth ASC
>
> btw, whats the reason for the subselect?

Oh, right, looks a bit stupid like this. It's eventually being filled
with something more useful, upon the user's request. It's dynamically
(via PHP) extended to fulfill certain rules...

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gerald Quimpo 2008-05-14 04:56:59 Re: Affected # of Rows After TRIGGER/RULE Return
Previous Message Vyacheslav Kalinin 2008-05-14 04:00:19 Re: Couple of question on functions