Postgresql how can I sum(values) and group them by the month within jsonb?

后端 未结 0 1715
伪装坚强ぢ
伪装坚强ぢ 2021-01-26 02:21

Postgres Query:

SELECT
  ((data->>\'date\')) AS time,
  ((data->>\'totalAmount\')) as values
FROM invoices

O

相关标签:
回答
  • 消灭零回复
提交回复
热议问题