Skip to content

Instantly share code, notes, and snippets.

@neos1803
Last active March 17, 2022 07:38
Show Gist options
  • Save neos1803/ddf0a4a14690b00db8a10c7e0c7da4d0 to your computer and use it in GitHub Desktop.
Save neos1803/ddf0a4a14690b00db8a10c7e0c7da4d0 to your computer and use it in GitHub Desktop.
Show all columns from table PostgreSQL
SELECT column_name
FROM information_schema.columns
WHERE table_name='table_name';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment