Re: count question - Mailing list pgsql-sql

From Volkan YAZICI
Subject Re: count question
Date
Msg-id 87ej9fr3kh.fsf@alamut.mobiliz.com.tr
Whole thread Raw
In response to count question  (novice <user.postgresql@gmail.com>)
Responses Re: count question  (ashish <ashish.karalkar@netcore.co.in>)
List pgsql-sql
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.


pgsql-sql by date:

Previous
From: rdeleonp@gmail.com
Date:
Subject: Re: count question
Next
From: ashish
Date:
Subject: Re: count question