summaryrefslogtreecommitdiff
path: root/moves_out_1.sql
diff options
context:
space:
mode:
Diffstat (limited to 'moves_out_1.sql')
-rw-r--r--moves_out_1.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/moves_out_1.sql b/moves_out_1.sql
new file mode 100644
index 0000000..91b1c47
--- /dev/null
+++ b/moves_out_1.sql
@@ -0,0 +1,11 @@
+SELECT
+ game_log.*,
+ move_log.*
+FROM
+ game_log INNER JOIN move_log
+ ON game_log.game_id = move_log.game_id
+WHERE
+ move_log.board = :fen_board
+ AND game_log.plr_X_name = :plr_name
+ AND game_log.plr_X_color_int = :plr_color_int
+; \ No newline at end of file