Created
May 16, 2018 20:41
-
-
Save pamelafox/68532e1593187eaa0014c8870d0508de to your computer and use it in GitHub Desktop.
playerscores.sql
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 TABLE IF NOT EXISTS playerscores (player TEXT, score INTEGER); | |
INSERT INTO playerscores VALUES ("Miss P", 34); | |
INSERT INTO playerscores VALUES ("Mr H", 99); | |
INSERT INTO playerscores VALUES ("Miss Piggy", 10); | |
SELECT * FROM playerscores ORDER BY score DESC LIMIT 10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment