Skip to content

Instantly share code, notes, and snippets.

@maishsk
Created January 13, 2019 06: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/b5977a90bd9bf2d50e111967db54ac6a to your computer and use it in GitHub Desktop.
Save maishsk/b5977a90bd9bf2d50e111967db54ac6a to your computer and use it in GitHub Desktop.
create database
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