I want to know if this is possible. I created a QUESTION in Metabase.
The first two are functions that generate data and populate a table.
I want to return the results that are populated. Currently the functions run successfully.
No data returned from 3rd statement. No errors.
--CREATES TABLE
select fun_merchantsumm('2022-01-01','2022-04-01');
--POPULATES TABLE
select fun_merchantsumm_merchants('Lend Home Improvement','2022-01-01','2022-04-01');
--RETURNS RECORD SET
select * from sponsordata_merchantsummaries;