link in header
This commit is contained in:
parent
c9c97fa267
commit
9aa4944709
@ -21,9 +21,13 @@ FROM
|
|||||||
x
|
x
|
||||||
JOIN LATERAL jsonb_to_recordset(x.j->'item') rs(item text, amount numeric) ON TRUE
|
JOIN LATERAL jsonb_to_recordset(x.j->'item') rs(item text, amount numeric) ON TRUE
|
||||||
)
|
)
|
||||||
select
|
SELECT
|
||||||
*
|
item.*,
|
||||||
from
|
acct.*,
|
||||||
|
r.*
|
||||||
|
FROM
|
||||||
item
|
item
|
||||||
INNER JOIN acct ON
|
INNER JOIN acct ON
|
||||||
acct.rn = item.rn
|
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