I am a new postgres user
I want to get a list of tables from pg_tables where tables are like
‘%wo%’ (for example).. and then query that list ….
Select count(*) from tableVARIABLENAMEFROMFIRSTQUERY
In SQL SERVER I can do that using cursor but in postgresql I don’t
understand how to use cursors
Here is what I am trying to do
for each table on the list
Select tablename, count(*) tables from ( list of tables)
tablename tables
table1 25
table2 35
Any Idea would be appreciated
Thanks
Lucas