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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-sql by date

  From Date Subject
Next Message ashish 2008-04-09 06:00:19 Re: count question
Previous Message rdeleonp 2008-04-09 03:34:22 Re: count question