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.