There are 2 schemes in my_db. I need to display names of all tables in scheme_one. How to do that?
1 Answer
You can use PostgreSQL's information schema, like so:
select table_name from information_schema.tables where table_schema = 'scheme_one';
You can use PostgreSQL's information schema, like so:
select table_name from information_schema.tables where table_schema = 'scheme_one';