User talk:Kymara: Difference between revisions

Content deleted Content added
imported>Kymara
sokoban check: fix formatting of </source> tag
imported>Kymara
 
(7 intermediate revisions by the same user not shown)
Line 537:
== sokoban check ==
<source lang = "sql">
select `char`, `round`, score as timetaken, (1000000*round - score) as points from
select
(SELECT
source asAS `char`,
max(round(substring_index(substring_index(param2,';',2),';',-1))) as `round`,
least(max(round(substring_index(substring_index(param2,';',32),';',-1))),59) asAS `scoreround`,
max(round(substring_index(substring_index(param2,';',23),';',-1))) asAS `roundscore`,
fromFROM gameEvents
where event = 'quest'
andWHERE param1event = 'sokobanquest'
andAND param2param1 like= 'done%sokoban'
AND param2 LIKE 'done%'
groupGROUP byBY source ) t
order by roundpoints desc;
limit 10;
</source>
Return to the user page of "Kymara".