Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 14, 2019 21:09
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/42c0fb20d0b195d440026bb38fc9d3c5 to your computer and use it in GitHub Desktop.
Save parzibyte/42c0fb20d0b195d440026bb38fc9d3c5 to your computer and use it in GitHub Desktop.
CREATE DATABASE IF NOT EXISTS mysql_tutorial;
USE mysql_tutorial;
CREATE TABLE person(
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
first_name VARCHAR(255) NOT NULL,
last_name VARCHAR(255) NOT NULL,
gender CHAR NOT NULL,
PRIMARY KEY(id)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment