Can I do this with a single Query (MySQL)....
Scenario:
I have a table with fields id(int), date(date), sport(char), player(enum), state(char), alumni(enum).
I am collecting data from users that use our media player to listen to sporting events streamed from our site. The date is the date of the game they are listening to. The sport is the sport of that stream (sometimes more than one sport/game on a given date). The player is either Windows Media or Real Player. State is the state they are listening from. And alumni is either Alumni, Student, just a fan or fan of the opposing team.
What I would like to do is show the stats for each game. But I would like to do it with a single query instead of multiple queries within while statements (which I have already done). There must be a more streamlined way of doing this. Any ideas?
Thanks in advance