Return multiple columns and rows from a function PostgreSQL instead of record

后端 未结 3 731
滥情空心
滥情空心 2021-01-19 07:52

I was reading online about function on PostgreSQL and returns results In this links:

  1. SQL function return-type: TABLE vs SETOF records
  2. How do I referen
3条回答
  •  说谎
    说谎 (楼主)
    2021-01-19 08:18

    I found this function crosstab I think it is what you're looking for https://www.postgresql.org/docs/9.3/tablefunc.html

提交回复
热议问题