Skip to content

Instantly share code, notes, and snippets.

@georgebearden
Last active February 10, 2016 04:01
Show Gist options
  • Select an option

  • Save georgebearden/76a3e2816c2def4900bf to your computer and use it in GitHub Desktop.

Select an option

Save georgebearden/76a3e2816c2def4900bf to your computer and use it in GitHub Desktop.
  • \dt - Shows the tables in the database
  • \d+ table_name - Shows the tables schema
  • drop table table_name; - Drops the table named table_name from the database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment