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

Re: [SQL] group by date_part

From: M(dot)Mazurek(at)poznan(dot)multinet(dot)pl
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] group by date_part
Date: 2000-02-21 02:07:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
On Sun, 20 Feb 2000, Tom Lane wrote:
> select date_part('dow',data::datetime), count(*) from stats
> 	group by date_part('dow',data::datetime);

thx, i think i got the idea:)


In response to

pgsql-sql by date

Next:From: Rodrigo RezendeDate: 2000-02-21 12:42:59
Subject: Re: [SQL] Select & Tables X Select & Views
Previous:From: Tom LaneDate: 2000-02-21 01:05:45
Subject: Re: [SQL] group by date_part

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