correct case in SQL
This commit is contained in:
parent
9f3c5924b0
commit
a06aac6da8
|
@ -1849,13 +1849,13 @@ class Sql:
|
||||||
from Gametypes
|
from Gametypes
|
||||||
ORDER by type, limitType DESC, bigBlind DESC"""
|
ORDER by type, limitType DESC, bigBlind DESC"""
|
||||||
self.query['getLimits3'] = """select DISTINCT type
|
self.query['getLimits3'] = """select DISTINCT type
|
||||||
, limittype
|
, limitType
|
||||||
, case type
|
, case type
|
||||||
when 'ring' then bigblind
|
when 'ring' then bigBlind
|
||||||
else buyin
|
else buyin
|
||||||
end as bb_or_buyin
|
end as bb_or_buyin
|
||||||
from gametypes gt
|
from Gametypes gt
|
||||||
cross join tourneytypes tt
|
cross join TourneyTypes tt
|
||||||
order by type, limitType DESC, bb_or_buyin DESC"""
|
order by type, limitType DESC, bb_or_buyin DESC"""
|
||||||
|
|
||||||
if db_server == 'mysql':
|
if db_server == 'mysql':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user