From 328d0cd912dfa5dbda53a09ecdfeaeb93504b560 Mon Sep 17 00:00:00 2001
From: Daniel Hader <dhader96@gmail.com>
Date: Wed, 3 Jun 2026 22:32:09 -0500
Subject: submission logic and fetching submissions

---
 src/database/sql/fetch_submissions_by_problem_id.sql | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 src/database/sql/fetch_submissions_by_problem_id.sql

(limited to 'src/database/sql/fetch_submissions_by_problem_id.sql')

diff --git a/src/database/sql/fetch_submissions_by_problem_id.sql b/src/database/sql/fetch_submissions_by_problem_id.sql
new file mode 100644
index 0000000..3b5a4ae
--- /dev/null
+++ b/src/database/sql/fetch_submissions_by_problem_id.sql
@@ -0,0 +1 @@
+SELECT * FROM submission WHERE submission.problem_id = ?1;
-- 
cgit v1.2.3

