Last active
August 29, 2015 14:02
-
-
Save asathoor/7e962ed6d7ae76e2bc15 to your computer and use it in GitHub Desktop.
This file contains 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
SQL - my collection | |
=================== | |
## CREATE TABLE | |
CREATE TABLE my_table | |
( | |
first_name VARCHAR(50), | |
last_name VARCHAR(50), | |
email VARCHAR(50), | |
birthday DATE, | |
gender CHAR. | |
number INT, | |
decimalNumber DECIMAL(4,2) | |
); | |
## INSERT | |
INSERT INTO tabel (kolonn1, kolonne2) VALUES (nr1, nr2); | |
## SELECT | |
SELECT * FROM table; | |
SELECT 'first_name','last_name' FROM TABLE table; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment