An example what I am attempting to do,
SELECT count(*) as "count"
FROM (
SELECT overlay('db_xx.company_summary' placing 'US' from 4)
) as s
This returns count to be 1, I would expect it to count all rows in db_us.company_summary 1*10^6
I would expect this to result in a query to similar to this;
SELECT count(*) as "count"
FROM (db_us.company_summary')
I attempted the overlay function, to be similar to the above query. I am not sure if its possible to do this in SQL.
Normally in python you would do something like this;
"hello {}".format("world")
So I would like the inputted string to act as a SQL syntax command.