Created
August 18, 2022 11:34
-
-
Save data4sci/6ee78a41247df52a39dbc145a4c9f31e to your computer and use it in GitHub Desktop.
get table names from postgres database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT table_name | |
| FROM information_schema.tables | |
| WHERE table_schema='public' | |
| AND table_type='BASE TABLE'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment