Thread: count question
View Single Post

   
  #4 (permalink)  
Old 04-19-2008, 06:02 PM
Volkan YAZICI
 
Posts: n/a
Default Re: count question

On Wed, 9 Apr 2008, novice <user.postgresql@gmail.com> writes:
> Is it possible to write a query to produce:
>
> meter_id | no_of_bays | bay_id
> ----------+------------+-----------
> 5397 | 2 | 5397-01
> 5397 | 2 | 5397-02
> 5409 | 3 | 5409-01
> 5409 | 3 | 5409-02
> 5409 | 3 | 5409-03


Shouldn't this function be the responsitibility of client software,
instead of database?


Regards.

--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply With Quote