Split the result of a query in 2 rows

Поиск
Список
Период
Сортировка
От JORGE MALDONADO
Тема Split the result of a query in 2 rows
Дата
Msg-id CAAY=A79PMCTw=GskMa8bdxCsu8FYUHOT4vrcTUzCCU9KSw776A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Split the result of a query in 2 rows  (David G Johnston <david.g.johnston@gmail.com>)
Re: Split the result of a query in 2 rows  (Frank Pinto <frank@ayalo.co>)
Re: Split the result of a query in 2 rows  (Marcos Almeida Azevedo <marcos.al.azevedo@gmail.com>)
Список pgsql-novice
I have a very simple query to a single table as follows:

SELECT field1, field2 FROM tbl_table ORDER BY field1

Is it possible to "split" the results so field1 is displayed in one row and field2 in another row?

Best regards,
Jorge Maldonado

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

Предыдущее
От: Lacey Powers
Дата:
Сообщение: Re: Hash function
Следующее
От: David G Johnston
Дата:
Сообщение: Re: Split the result of a query in 2 rows