link in header
This commit is contained in:
parent
c9c97fa267
commit
9aa4944709
@ -21,9 +21,13 @@ FROM
|
||||
x
|
||||
JOIN LATERAL jsonb_to_recordset(x.j->'item') rs(item text, amount numeric) ON TRUE
|
||||
)
|
||||
select
|
||||
*
|
||||
from
|
||||
SELECT
|
||||
item.*,
|
||||
acct.*,
|
||||
r.*
|
||||
FROM
|
||||
item
|
||||
INNER JOIN acct ON
|
||||
acct.rn = item.rn
|
||||
CROSS JOIN x
|
||||
JOIN LATERAL jsonb_to_record(x.j) r(vendor text, "date" date, instrument text) ON TRUE
|
Loading…
Reference in New Issue
Block a user