summaryrefslogtreecommitdiff
path: root/playoff/sql.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-02-22 14:40:52 +0100
committeremkael <emkael@tlen.pl>2017-02-22 14:40:52 +0100
commitef06b88555ee46c9dd199f83dce731d8a7b039a6 (patch)
tree2ac61237d635ff5e3eb2f2d5c71449ed537d804e /playoff/sql.py
parentf118c0f3704fa07a33543ee2aa018f16ac993b5a (diff)
Fetching prefixes for match links
Diffstat (limited to 'playoff/sql.py')
-rw-r--r--playoff/sql.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/playoff/sql.py b/playoff/sql.py
index 0bd2df7..d5c28cd 100644
--- a/playoff/sql.py
+++ b/playoff/sql.py
@@ -21,3 +21,7 @@ JOIN #db#.scores sc2
JOIN #db#.admin
WHERE sc1.tabl = %s AND sc1.rnd = %s
'''
+
+PREFIX = '''
+SELECT shortname FROM #db#.admin
+'''