| От | David Johnston |
|---|---|
| Тема | Re: un-pivot with crosstab? |
| Дата | |
| Msg-id | 1357158749208-5738530.post@n5.nabble.com обсуждение |
| Ответ на | un-pivot with crosstab? (Kirk Wythers <kwythers@umn.edu>) |
| Список | pgsql-general |
Kirk Wythers wrote > I am trying to follow the example given below, but in reverse. I have > something like table2, that I am trying to "un-pivot" to look like table1… > And I seem to be having a booger of a time. I see nothing in the tablefunc/crosstab documentation to suggest this can be done. You will need to use multiple queries and combine them using "UNION ALL" to accomplish your goal. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/un-pivot-with-crosstab-tp5738518p5738530.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера