Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 7, 2019 17:13
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 parzibyte/f04a7fe1e20c908c84457067af7ed298 to your computer and use it in GitHub Desktop.
Save parzibyte/f04a7fe1e20c908c84457067af7ed298 to your computer and use it in GitHub Desktop.
SELECT COLUMN_NAME AS columna FROM
information_schema.columns WHERE
table_schema = 'nombre_de_tu_base_de_datos'
AND
table_name = 'nombre_de_la_tabla';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment