I have run a SQL statements and stored the results in a local data frame called "test", `{sql connection=Prod, output.var="test"}.
Now, I need to access "test" the local data frame in another R SQL chunk, is that possible?
SELECT COUNT(*) AS 'RecordCount'
, EMPD
, Department
FROM "test"
GROUP BY EMPD
, Department