Skip to content

Instantly share code, notes, and snippets.

@maishsk
Created January 9, 2019 08:27
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 maishsk/aba34d42ec956515d54262636e422c0e to your computer and use it in GitHub Desktop.
Save maishsk/aba34d42ec956515d54262636e422c0e to your computer and use it in GitHub Desktop.
create data
CREATE DATABASE maishsk;
USE maishsk;
CREATE TABLE mytable ( id smallint unsigned not null auto_increment, name varchar(20) not null, constraint pk_example primary key (id) );
INSERT INTO mytable ( id, name ) VALUES ( null, 'Hello World' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment