User talk:Kymara: Difference between revisions

Content deleted Content added
imported>Kymara
No edit summary
imported>Kymara
 
(22 intermediate revisions by the same user not shown)
Line 535:
order by round(substring_index(substring_index(param2,';',2),';',-1));
</source>
== 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;
</sql>
limit 10;
</source>
Return to the user page of "Kymara".