Skip to content

Instantly share code, notes, and snippets.

@antonshell
Created September 15, 2017 08:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonshell/df0e7896c932e4232dc503cdacf9f624 to your computer and use it in GitHub Desktop.
Save antonshell/df0e7896c932e4232dc503cdacf9f624 to your computer and use it in GitHub Desktop.
SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'my_database' AND TABLE_NAME = 'my_table';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment