Table Folder
Column | Type | Modifiers
-------------------+--------------------------+---------------------------------
ID | integer | not null default
Name | character varying | not null
Size | bigint | not null
Timestamp | timestamp with time zone |
2014年にアップロードされたすべてのファイルのカウントを取得しようとしています。月、または年単位でデータを並べ替えます。
SELECT COUNT(*) FROM "File" WHERE "Timestamp" > '2014-01-01 21:53:23+08'