| От | Kevin Grittner |
|---|---|
| Тема | Re: apply sum function after group by extract month date |
| Дата | |
| Msg-id | 1378838976.57712.YahooMailNeo@web162902.mail.bf1.yahoo.com обсуждение |
| Ответ на | apply sum function after group by extract month date (e-letter <inpost@gmail.com>) |
| Список | pgsql-novice |
e-letter <inpost@gmail.com> wrote: I didn't understand the first part of your question. Be sure you are clear about selecting a set of rows based on date and grouping (summarizing) rows based on date (or some part of date?). > How to change currency unit for the data type money, i.e. to > change the currency sign from dollar ($) shown in a query result? How do you have the locale information set? In particular, lc_monetary? test=# show lc_monetary ; lc_monetary ------------- en_US.UTF-8 (1 row) test=# select '123.45'::money; money --------- $123.45 (1 row) test=# set lc_monetary = 'en_GB.UTF-8'; SET test=# select '123.45'::money; money --------- £123.45 (1 row) -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера