• Welcome to SpeedSolving.com — the world’s largest puzzle community!

    You’re currently browsing as a guest, which means you have limited access to discussions, resources, member profiles, and community features.

    Join 50,000+ cubers and puzzle enthusiasts from around the world to ask questions, share solves, improve faster, and be part of the community.

    Registration is free, fast, and easy — create your account today.

    Already a member? Log in here to hide this message and start participating.
Not sure if this is the place to ask, but does anybody in here know how to get the number of competitors from a competition using MySQL? I'm trying to get into answering people's requests on reddit (and here too if anybody starts asking,) but I don't know how to pull total competitors. Thanks!
 
Not sure if this is the place to ask, but does anybody in here know how to get the number of competitors from a competition using MySQL? I'm trying to get into answering people's requests on reddit (and here too if anybody starts asking,) but I don't know how to pull total competitors. Thanks!

Couldn't you grab all the results where comp = compid and count the length of the results?
 
Not sure if this is the place to ask, but does anybody in here know how to get the number of competitors from a competition using MySQL? I'm trying to get into answering people's requests on reddit (and here too if anybody starts asking,) but I don't know how to pull total competitors. Thanks!

How about this:

Code:
select count(distinct personId) from Results where CompetitionId="FMCEurope2015";
 
Back
Top