Skip to content

Instantly share code, notes, and snippets.

@aqhmal
Last active November 16, 2022 03:46
Show Gist options
  • Save aqhmal/67bfba17da35026c36963b295d1cf5aa to your computer and use it in GitHub Desktop.
Save aqhmal/67bfba17da35026c36963b295d1cf5aa to your computer and use it in GitHub Desktop.
[HTB] Useful PostgreSQL Commands

Get

Get tables

SELECT tablename FROM pg_catalog.pg_tables WHERE pg_tables.schemaname = 'public'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment