-
-
Save AlexRogalskiy/088adcd354282d4482c04dd95bc19d19 to your computer and use it in GitHub Desktop.
Get started with MemSQL on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE IF NOT EXISTS hellomemsql; | |
USE hellomemsql; | |
CREATE TABLE IF NOT EXISTS messages ( | |
id BIGINT AUTO_INCREMENT PRIMARY KEY, | |
content varchar(300) NOT NULL, | |
createdate TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP | |
); | |
INSERT INTO messages ( | |
content | |
) VALUES ( | |
'MemSQL running on Windows' | |
); | |
SELECT * FROM messages; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment