Skip site navigation (1) Skip section navigation (2)

Re: count question

From: Volkan YAZICI <yazicivo(at)ttmail(dot)com>
To: novice <user(dot)postgresql(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: count question
Date: 2008-04-09 05:37:50
Message-ID: 87ej9fr3kh.fsf@alamut.mobiliz.com.tr (view raw or flat)
Thread:
Lists: pgsql-sql
On Wed, 9 Apr 2008, novice <user(dot)postgresql(at)gmail(dot)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.

In response to

Responses

pgsql-sql by date

Next:From: ashishDate: 2008-04-09 06:00:19
Subject: Re: count question
Previous:From: rdeleonpDate: 2008-04-09 03:34:22
Subject: Re: count question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group