kinch2002
Premium Member
Can someone construct a medal table? (I don't want to do it manually). I'd be interested in seeing it 
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Can someone construct a medal table? (I don't want to do it manually). I'd be interested in seeing it![]()
?Want to learn to solve the Rubik’s Cube? Hardwick recommends:
Dan Brown’s How to Solve a Rubik’s Cube on YouTube
I understand. He does lead beginners down some wrong paths, though.Dan Brown's tutorial is, in my opinion, a very effective method of introducing a non-cuber to cubing. The video is entertaining, the method is scalable to a speedsolve method, and it even explains the concept of the order of an algorithm (if only lightly).
So yes, I absolutely recommend Dan Brown's video for non-cubers who would like to learn how to solve for the very first time.
Can someone construct a medal table? (I don't want to do it manually). I'd be interested in seeing it![]()
I understand. He does lead beginners down some wrong paths, though.
SELECT countryId, sum( if( pos =1, 1, 0 ) ) gold, sum( if( pos =2, 1, 0 ) ) silver, sum( if( pos =3, 1, 0 ) ) bronze
FROM Results
WHERE competitionId = 'WC2011'
AND best >0 and (roundId='f' or roundId='c')
GROUP BY countryId
ORDER BY gold, silver, bronze
It's a little bit odd that China having so many cubers these days did not fare better in the WC. And how about scoring total points for each nation? Like Gold=6 pts, silver=5pts etc. (6th place=1pt) Just like they do in the olympics and so on. Would be interesting to see
Per
SELECT countryId, sum( if( pos =1, 6, if( pos =2, 5, if (pos=3,4, if( pos =4, 3, if( pos =5, 2, if( pos =6, 1, 0 ) ) ) ) ) ) ) total
FROM Results
WHERE competitionId = 'WC2011'
AND best >0
AND (
roundId = 'f'
OR roundId = 'c'
)
GROUP BY countryId
ORDER BY total DESC
Hungary 65
Japan 53
Australia 51
USA 41
Indonesia 29
Thailand 24
Denmark 20
United Kingdom 19
Netherlands 15
Poland 14
Germany 14
Sweden 13
France 9
Italy 9
Korea 7
China 5
Spain 5
Taiwan 3
Slovenia 3
Austria 2
Romania 0
Belgium 0
Philippines 0
Switzerland 0
Canada 0
Malaysia 0
Ukraine 0
Vietnam 0
Russia 0
New Zealand 0
So...I was bored. I also wanted to find out how various nations did at the World Championships. I decided to find out the hard way...by getting the results myself. It has been done like the WCA statistics where they add up all the single and average rankings of a person, however, with this, it is the highest average ranking of a country.
Next to the nations are the amount of competitors from that nation and red means that that country did not have anyone competing in that event, so I gave them last place +1 (even in BLD events where the person who came last had DNF's, they still qualified for the event, so the nation that did not qualify should go behind them).
Enjoy!
Nice table - could you sort it ascending by the Total column and repost?I did this a while ago. Maybe it would be useful now that people are talking about medal tables...because this goes further than that...
Then let next WC be held in ShanghaiAustralia would also be a nice place. Not that i have any plans of going :-o
Per
Yea there would be huge visa problems with China, so I would really not recommend having the competition there.
Australia, we could certainly manage it, but it would be very expensive and would require people to travel very far. Every major city in Australia is amongst the most expensive cities in the world.