Date: 2013-04-29 11:23 am (UTC)
Ога. Не то. Там цЫферки другие написаны.
Надо-то что? Группировки типа "по неделям и итог по каждому месяцу"?
И в каком именно SQL? Поцгрес подойдёт?
http://www.postgresql.org/docs/devel/static/functions-datetime.html
Возможно, из приведённой вами гипотетической выборки из базы и можно догадаться в точности, что именно вам нужно, но я этого делать не буду.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

metaclass: (Default)
metaclass

April 2017

S M T W T F S
      1
2345678
9101112 131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 28th, 2025 12:00 pm
Powered by Dreamwidth Studios