aboutsummaryrefslogtreecommitdiffhomepage
path: root/q1.sql
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-16 01:29:40 +0900
committernsfisis <nsfisis@gmail.com>2025-03-16 01:29:40 +0900
commit668937e3a195ae14d338352a496ec627bee0bf80 (patch)
treea356267364597b1d57dd9814d4537721b14a5e57 /q1.sql
parent8a8dbd024373dcd7d87af7d2c858221a313d8077 (diff)
downloadiosdc-japan-2025-albatross-668937e3a195ae14d338352a496ec627bee0bf80.tar.gz
iosdc-japan-2025-albatross-668937e3a195ae14d338352a496ec627bee0bf80.tar.zst
iosdc-japan-2025-albatross-668937e3a195ae14d338352a496ec627bee0bf80.zip
commit admin queries
Diffstat (limited to 'q1.sql')
-rw-r--r--q1.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/q1.sql b/q1.sql
new file mode 100644
index 0000000..e2d24b2
--- /dev/null
+++ b/q1.sql
@@ -0,0 +1,9 @@
+INSERT INTO problems (title, description, sample_code)
+VALUES
+ ('じゃんけん', '', ''),
+ ('でっかい数字', '', '');
+
+INSERT INTO games (game_type, is_public, display_name, duration_seconds, problem_id)
+VALUES
+ ('multiplayer', false, 'オンライン予選1', 86400*5 + 3600*11, (SELECT problem_id FROM problems WHERE title = 'じゃんけん')),
+ ('multiplayer', false, 'オンライン予選2', 86400*5 + 3600*11, (SELECT problem_id FROM problems WHERE title = 'でっかい数字'));