Skip to content

Instantly share code, notes, and snippets.

@kaznum
Created October 9, 2011 15:43
Show Gist options
  • Save kaznum/1273815 to your computer and use it in GitHub Desktop.
Save kaznum/1273815 to your computer and use it in GitHub Desktop.
mysql table index
alter table foo_table add index(column1);
show indexes from foo_table;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment