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