Commit bdabffbf authored by M1888's avatar M1888

sql

parent 396b9976
......@@ -16,11 +16,19 @@ CREATE TABLE IF NOT EXISTS Lottorivit (
);
-- Luodaan vakiorivit
INSERT INTO Lottorivit (id, n1, n2, n3, n4, n5, n6, n7) VALUES
-- Suomen yleisin lottorivi on 3 9 15 21 27 33 39
(1, 3, 9, 15, 21, 27, 33, 39),
(2, 1, 2, 3, 4, 5, 6, 7),
(3, 5, 10, 15, 20, 25, 30),
(4, 10, 15, 20, 25, 30, 35),
(5, 15, 20, 25, 30, 35, 40);
-- loput saa pelaaja npytell itse
INSERT INTO Lottorivit (id) VALUES
(1), (2), (3), (4), (5), (6), (7), (8),
(9), (10), (11), (12), (13), (14), (15);
(6), (7), (8), (9), (10), (11), (12), (13), (14), (15);
-- Jotain dataa scoreboardillekin
INSERT INTO Scoreboard (Pvm, Nimi, Saldo) VALUES
(DATETIME(), 'Teppo Testaja', -42000000);
\ No newline at end of file
(DATETIME(), 'Taina Testaaja', -42000000),
(DATE('now', '-5 day'), 'Teppo Testaaja', -65625205);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment