| От | Stephane Bortzmeyer |
|---|---|
| Тема | Re: SQL Query |
| Дата | |
| Msg-id | 20071205143605.GA17215@nic.fr обсуждение исходный текст |
| Ответ на | Re: SQL Query ("Steve Grey" <stevegrey78@gmail.com>) |
| Список | pgsql-general |
On Wed, Dec 05, 2007 at 11:43:08AM +0000, Steve Grey <stevegrey78@gmail.com> wrote a message of 153 lines which said: > First work out the maximum number of times each value of X will occur in the > table A better solution, when you do not know this maximum number, is CREATE AGGREGATE (http://www.postgresql.org/docs/8.1/interactive/xaggr.html) See details : http://www.bortzmeyer.org/agregats-postgresql.html (Yes, it is in french but the SQL examples are in english, variable names included, so they still can be useful for the OP).
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера