below is a sql server table, which is used to hold users prediction for soccer matches. a user can predict either a home win, an away win or a draw/tie for a specific soccer match.
how can i query this table to find the top 3 predictions, the top 3 games must be distinct gameId’s
either SQL or LINQ solution would be much appriciated
I’ll assume you want the strongest predictions, i.e., the games where the most people agree on the outcome.
You might be able to combine the two selects, but IMO it would hurt the readability of the code.