Last active
November 15, 2019 13:05
-
-
Save klovack/86010fd4ec2d3e091d4e987ad26c23a7 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
-- Memasukkan data ke database | |
INSERT INTO person (name, age, city) VALUES ("Dadang", 24, "Bandung") | |
INSERT INTO person (name, age, city) VALUES ("Siti", 31, "Jakarta") | |
-- Ambil data dari database | |
SELECT name, age FROM person ORDER BY name; | |
/* | |
---------------------- | |
| name | age | | |
| "Dadang" | 24 | | |
| "Siti" | 31 | | |
---------------------- | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment