CREATE DATABASE app;
USE app;
CREATE TABLE users (
id int,
last_name varchar(255),
first_name varchar(255)
);
INSERT INTO users ( first_name ) VALUES ( 'Matt' );
INSERT INTO users VALUES ( null, 'Matt', 'Blewitt' );
DROP TABLE users;
SELECT * FROM users;
exit;
Last active
September 6, 2018 10:12
-
-
Save matthewblewitt/1866e0c1b93518b934a82972309aa9c5 to your computer and use it in GitHub Desktop.
SQL-cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment