Tricky math in PSQL

Поиск
Список
Период
Сортировка
От Kip Warner
Тема Tricky math in PSQL
Дата
Msg-id 1461350695.16482.11.camel@thevertigo.com
обсуждение исходный текст
Ответы Re: Tricky math in PSQL  (Kevin Grittner <kgrittn@gmail.com>)
Список pgsql-novice
Hey list,

I am having problems trying to figure out the best way to implement a
complicated function in PostgreSQL. I have tried my best to articulate
my problem here:

    http://pastebin.com/zwWmYMd0

To understand it mathematically is not so hard, but to express it in
PSQL syntax is hard for me.

I am aware that the views and functions I have may not be the most
efficient. I am open to suggestions for those too.

--
Kip Warner -- Senior Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: Markus Metz
Дата:
Сообщение: Re: postgres connection issues
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Tricky math in PSQL