Alright, I have a table in my database named 'game_passing'. In that table, there are two fields, one named 'game_id' and one named 'team'. For every 'team' I need to return the number of 'game_id's then count them. The reason being is that I need to produce a variable called $total_games_played (or somiliar).
Basically, I need to return the number of unique 'game_id' values and then add them together (not the actual data, just the number of), But I'm lost on how to return and count unique results.
Any clue on how I can accomplish this?
(modifying the database is not an option)