skip to Main Content

Loop tables in postgreSQL

I need to create a Materialized view to loop all worklist tables from pg_tables. First I create a query and after tried to create a for loop. This my first code without the for loop. SELECT count(visit_num) AS total_claim_count, count(user_id)…

VIEW QUESTION
Back To Top
Search